From caa9a46e109975525131bafdd580d9574a7a11e1 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 --- ebtables.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ebtables.c') 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. -- cgit v1.2.3