summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-04-19 11:44:39 +0200
committerFlorian Westphal <fw@strlen.de>2018-04-22 22:50:55 +0200
commit4d40904b0257aec7406689ae2ae4b9c6a15ca97f (patch)
tree3636dbf63c62a989db021877e999531cb18e65a7 /iptables
parent5c8ce9c6aede0277b4f88482a8c87fb1662d4b85 (diff)
ebtables-translate: update table name on -t
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables')
-rw-r--r--iptables/xtables-eb-translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/xtables-eb-translate.c b/iptables/xtables-eb-translate.c
index c40a2935..8547a34a 100644
--- a/iptables/xtables-eb-translate.c
+++ b/iptables/xtables-eb-translate.c
@@ -514,6 +514,7 @@ print_zero:
"Table name length cannot exceed %d characters",
EBT_TABLE_MAXNAMELEN - 1);
*table = optarg;
+ p.table = optarg;
break;
case 'i': /* Input interface */
case 2 : /* Logical input interface */