---
 src/iptables.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/iptables.c b/src/iptables.c
index 4c93284..b017bfc 100644
--- a/src/iptables.c
+++ b/src/iptables.c
@@ -1416,6 +1416,9 @@ static int iptables_command(int argc, char *argv[])
        xt_t = NULL;
        ret = 0;
 
+       /* extension's options will generate false-positives errors */
+       opterr = 0;
+
        optind = 0;
 
        while ((c = getopt_long(argc, argv, "-A:F:I:L::N:X:d:j:i:m:o:s:t:",
-- 
1.7.7

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

Reply via email to