projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e20dc0
)
iptables: Flush netfilter table cache after committing
author
Samuel Ortiz
<sameo@linux.intel.com>
Sat, 13 Nov 2010 23:11:47 +0000
(
00:11
+0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sat, 13 Nov 2010 23:11:47 +0000
(
00:11
+0100)
src/iptables.c
patch
|
blob
|
history
diff --git
a/src/iptables.c
b/src/iptables.c
index
3579c83
..
b7b336f
100644
(file)
--- a/
src/iptables.c
+++ b/
src/iptables.c
@@
-1302,7
+1302,12
@@
int __connman_iptables_commit(const char *table_name)
g_free(repl);
- return err;
+ if (err < 0)
+ return err;
+
+ g_hash_table_remove(table_hash, table_name);
+
+ return 0;
}
static void remove_table(gpointer user_data)