projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe3938b
)
iptables-test: Set builtin flag before inserting new entry
author
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 12 Nov 2010 01:42:06 +0000
(
02:42
+0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 12 Nov 2010 01:42:06 +0000
(
02:42
+0100)
tools/iptables-test.c
patch
|
blob
|
history
diff --git
a/tools/iptables-test.c
b/tools/iptables-test.c
index
5634eae
..
e8e9228
100644
(file)
--- a/
tools/iptables-test.c
+++ b/
tools/iptables-test.c
@@
-592,8
+592,8
@@
connman_iptables_add_rule(struct connman_iptables *table, char *chain_name,
if (head->builtin < 0)
builtin = -1;
else if (chain_head == chain_tail->prev) {
- head->builtin = -1;
builtin = head->builtin;
+ head->builtin = -1;
}
return connman_add_entry(table, new_entry, chain_tail->prev, builtin);