summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/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
commit929831156f39524ef3fb563edc2f3063b74247e1 (patch)
tree23f0eb051d0e3e7cb7f829bf794135f9a49513f2 /userspace/ebtables2/ebtables.c
parent3655692502132d58e40082d68c516b4d06ef6959 (diff)
fix listing of jump to udc
Diffstat (limited to 'userspace/ebtables2/ebtables.c')
-rw-r--r--userspace/ebtables2/ebtables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/userspace/ebtables2/ebtables.c b/userspace/ebtables2/ebtables.c
index 1e87fe3..f4225de 100644
--- a/userspace/ebtables2/ebtables.c
+++ b/userspace/ebtables2/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.