summaryrefslogtreecommitdiffstats
path: root/libiptc/libiptc.c
diff options
context:
space:
mode:
authorgandalf <gandalf>2004-09-22 21:37:41 +0000
committergandalf <gandalf>2004-09-22 21:37:41 +0000
commit759fba07e189cd7f28a04af20cc14552faef4a51 (patch)
treeb0629e8aad14af245e798a8fb29d563c3b5e5ab9 /libiptc/libiptc.c
parentb2c6d9701263448efbf1ebab45f2cb4062df16b2 (diff)
Make TC_DELETE_ENTRY() and TC_DELETE_NUM_ENTRY() actually do something practical
Diffstat (limited to 'libiptc/libiptc.c')
-rw-r--r--libiptc/libiptc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c
index 3436da9..7c711b1 100644
--- a/libiptc/libiptc.c
+++ b/libiptc/libiptc.c
@@ -1,4 +1,4 @@
-/* Library which manipulates firewall rules. Version $Revision: 1.53 $ */
+/* Library which manipulates firewall rules. Version $Revision: 1.54 $ */
/* Architecture of firewall rules is as follows:
*
@@ -1469,6 +1469,8 @@ TC_DELETE_ENTRY(const IPT_CHAINLABEL chain,
c->num_rules--;
iptcc_delete_rule(r);
+
+ set_changed(*handle);
return 1;
}
}
@@ -1512,6 +1514,8 @@ TC_DELETE_NUM_ENTRY(const IPT_CHAINLABEL chain,
c->num_rules--;
iptcc_delete_rule(r);
+ set_changed(*handle);
+
return 1;
}