summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_rt.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-09-08 15:59:04 +0000
committerPatrick McHardy <kaber@trash.net>2007-09-08 15:59:04 +0000
commit500f483fff529dcd88ec96b9d5054be6cd6363a0 (patch)
tree1e5ba55b8543497a5e53e3166f4c6656a824eb5a /extensions/libip6t_rt.c
parent4a058c1729f22ac6224d7175dc5b310842c0e392 (diff)
Fix sparse warnings: non-ANSI function declarations, 0 used as pointer
Diffstat (limited to 'extensions/libip6t_rt.c')
-rw-r--r--extensions/libip6t_rt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/extensions/libip6t_rt.c b/extensions/libip6t_rt.c
index a21fd688..efcbf5de 100644
--- a/extensions/libip6t_rt.c
+++ b/extensions/libip6t_rt.c
@@ -30,13 +30,13 @@ IPTABLES_VERSION, IP6T_RT_HOPS);
}
static const struct option opts[] = {
- { "rt-type", 1, 0, '1' },
- { "rt-segsleft", 1, 0, '2' },
- { "rt-len", 1, 0, '3' },
- { "rt-0-res", 0, 0, '4' },
- { "rt-0-addrs", 1, 0, '5' },
- { "rt-0-not-strict", 0, 0, '6' },
- {0}
+ { "rt-type", 1, NULL, '1' },
+ { "rt-segsleft", 1, NULL, '2' },
+ { "rt-len", 1, NULL, '3' },
+ { "rt-0-res", 0, NULL, '4' },
+ { "rt-0-addrs", 1, NULL, '5' },
+ { "rt-0-not-strict", 0, NULL, '6' },
+ { }
};
static u_int32_t