From adb20edec60a28e79ad68bdb744b5be5aaf1a695 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Sun, 6 Apr 2008 15:43:13 +0000 Subject: [PATCH 05/24] Fix -Wshadow warnings and clean up xt_sctp.h Note: xt_sctp.h is still not merged upstream in the kernel as of this commit. But a refactoring was really needed. --- xtables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xtables.c') diff --git a/xtables.c b/xtables.c index dba9081..89863d7 100644 --- a/xtables.c +++ b/xtables.c @@ -46,7 +46,7 @@ char *lib_dir; /* the path to command to load kernel module */ -const char *modprobe = NULL; +const char *modprobe_program = NULL; /* Keeping track of external matches and targets: linked lists. */ struct xtables_match *xtables_matches; @@ -488,7 +488,7 @@ static int compatible_revision(const char *name, u_int8_t revision, int opt) exit(1); } - load_xtables_ko(modprobe, 1); + load_xtables_ko(modprobe_program, 1); strcpy(rev.name, name); rev.revision = revision; -- cgit v1.2.3