summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_REDIRECT.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_REDIRECT.c')
-rw-r--r--extensions/libipt_REDIRECT.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libipt_REDIRECT.c b/extensions/libipt_REDIRECT.c
index 3b6fe127..794a208e 100644
--- a/extensions/libipt_REDIRECT.c
+++ b/extensions/libipt_REDIRECT.c
@@ -23,9 +23,9 @@ IPTABLES_VERSION);
}
static const struct option opts[] = {
- { "to-ports", 1, 0, '1' },
- { "random", 1, 0, '2' },
- { 0 }
+ { "to-ports", 1, NULL, '1' },
+ { "random", 1, NULL, '2' },
+ { }
};
/* Initialize the target. */