projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
553d758
)
tools: Initialize the iptables_test invert flag properly
author
Tomasz Bursztyka
<tomasz.bursztyka@linux.intel.com>
Thu, 27 Oct 2011 07:24:58 +0000
(10:24 +0300)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 28 Oct 2011 19:26:13 +0000
(21:26 +0200)
The invert flag is specific to each option so it needs to be initialized
after each succesfully handled option.
tools/iptables-test.c
patch
|
blob
|
history
diff --git
a/tools/iptables-test.c
b/tools/iptables-test.c
index
fb8cefe
..
7057723
100644
(file)
--- a/
tools/iptables-test.c
+++ b/
tools/iptables-test.c
@@
-1571,6
+1571,8
@@
int main(int argc, char *argv[])
break;
}
+
+ invert = FALSE;
}
for (tmp_xt_rm = xt_rm; tmp_xt_rm != NULL;