summaryrefslogtreecommitdiff
path: root/tools/iptables-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/iptables-test.c')
-rw-r--r--tools/iptables-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/iptables-test.c b/tools/iptables-test.c
index 5a3df95e..fb8cefee 100644
--- a/tools/iptables-test.c
+++ b/tools/iptables-test.c
@@ -1402,6 +1402,9 @@ int main(int argc, char *argv[])
xt_m = NULL;
xt_t = NULL;
+ /* extension's options will generate false-positives errors */
+ opterr = 0;
+
while ((c = getopt_long(argc, argv, "-A:D:F:I:L::N:X:d:i:j:m:o:s:t:",
connman_iptables_globals.opts, NULL)) != -1) {
switch (c) {