From c87c964c57478952f88a66a7b3ef0b2d2ba428fd Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Thu, 1 Aug 2002 15:34:16 +0000 Subject: *** empty log message *** --- Makefile | 2 +- communication.c | 2 +- ebtables.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8a1a40d..1742496 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ KERNEL_DIR?=/usr/src/linux PROGNAME:=ebtables -PROGVERSION:="2.0-rc1 (July 2002)" +PROGVERSION:="2.0-rc2 (August 2002)" MANDIR?=/usr/local/man CFLAGS:=-Wall -Wunused diff --git a/communication.c b/communication.c index e9a22b1..02db500 100644 --- a/communication.c +++ b/communication.c @@ -557,7 +557,7 @@ static void retrieve_from_file(char *filename, struct ebt_replace *repl, char command) { FILE *file; - char *hlp; + char *hlp = NULL; int size; if (!(file = fopen(filename, "r+b"))) diff --git a/ebtables.c b/ebtables.c index 8128525..9d99bf4 100644 --- a/ebtables.c +++ b/ebtables.c @@ -476,9 +476,9 @@ static void list_em(struct ebt_u_entries *entries) printf("ebtables -t %s -P %s %s\n", replace.name, entries->name, standard_targets[-entries->policy - 1]); } else if (!(replace.flags & LIST_X)) { - printf("\nBridge chain: %s\nPolicy: %s\n", entries->name, + printf("\nBridge chain: %s, entries: %d, policy: %s\n", + entries->name, entries->nentries, standard_targets[-entries->policy - 1]); - printf("nr. of entries: %d \n", entries->nentries); } i = entries->nentries; -- cgit v1.2.3