summaryrefslogtreecommitdiffstats
path: root/iptables-restore.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-06-07 15:15:29 +0200
committerPatrick McHardy <kaber@trash.net>2008-06-07 15:15:29 +0200
commit0ea82bc43e9262cdbb9880ca56bb514db4c77f8e (patch)
tree07ad82fe41e40a83b01bba3f7710841b6d426080 /iptables-restore.c
parentddffcfbe3c97d1eb81d497261ff376cd336974b3 (diff)
sparse warning fixes: integer used as pointer
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'iptables-restore.c')
-rw-r--r--iptables-restore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iptables-restore.c b/iptables-restore.c
index 879683c5..4b199d94 100644
--- a/iptables-restore.c
+++ b/iptables-restore.c
@@ -124,9 +124,9 @@ main(int argc, char *argv[])
int c;
char curtable[IPT_TABLE_MAXNAMELEN + 1];
FILE *in;
- const char *modprobe = 0;
+ const char *modprobe = NULL;
int in_table = 0, testing = 0;
- const char *tablename = 0;
+ const char *tablename = NULL;
program_name = "iptables-restore";
program_version = XTABLES_VERSION;