From 929831156f39524ef3fb563edc2f3063b74247e1 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sun, 5 Dec 2004 15:59:17 +0000 Subject: fix listing of jump to udc --- userspace/ebtables2/ebtables.c | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit v1.2.3