---
 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 6318579..880160f 100644
--- a/tools/iptables-test.c
+++ b/tools/iptables-test.c
@@ -1405,6 +1405,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) {
-- 
1.7.7

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to