summaryrefslogtreecommitdiffstats
path: root/ebtables.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2004-12-05 15:59:17 +0000
committerBart De Schuymer <bdschuym@pandora.be>2004-12-05 15:59:17 +0000
commitcaa9a46e109975525131bafdd580d9574a7a11e1 (patch)
tree05335bcbc35fced13784ae0440b858037a2c92e4 /ebtables.c
parent538f880a60f4bca6d1e96cec917f4db4a0e048fb (diff)
fix listing of jump to udc
Diffstat (limited to 'ebtables.c')
-rw-r--r--ebtables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ebtables.c b/ebtables.c
index 1e87fe3..f4225de 100644
--- a/ebtables.c
+++ b/ebtables.c
@@ -225,6 +225,10 @@ static void list_em(struct ebt_u_entries *entries)
printf("ebtables -t %s -A %s ",
replace.name, entries->name);
+ /* The standard target's print() uses this to find out
+ * the name of a udc */
+ hlp->replace = &replace;
+
/*
* Don't print anything about the protocol if no protocol was
* specified, obviously this means any protocol will do.