diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2011-10-27 10:24:57 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-10-28 21:26:13 +0200 |
commit | 553d7582db6124205b91c3c65f84dcaebbe30884 (patch) | |
tree | 7e4a85ba86d35838435fa5f28f3e1f351b4080e6 /tools | |
parent | b81ab354298bec22602eb0b271b7c3ebd6d1d3db (diff) | |
download | connman-553d7582db6124205b91c3c65f84dcaebbe30884.tar.gz connman-553d7582db6124205b91c3c65f84dcaebbe30884.tar.bz2 connman-553d7582db6124205b91c3c65f84dcaebbe30884.zip |
tools: Disable getopt unknown option display in iptables_test
Diffstat (limited to 'tools')
-rw-r--r-- | tools/iptables-test.c | 3 |
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) { |