]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Make TC_DELETE_ENTRY() and TC_DELETE_NUM_ENTRY() actually do something practical
authorMartin Josefsson <gandalf@wlug.westbo.se>
Wed, 22 Sep 2004 21:37:41 +0000 (21:37 +0000)
committerMartin Josefsson <gandalf@wlug.westbo.se>
Wed, 22 Sep 2004 21:37:41 +0000 (21:37 +0000)
libiptc/libiptc.c

index 3436da9e0bcc5256cf6a93f1e2af208d12166146..7c711b195370b8bd04e559113282bea6587a5851 100644 (file)
@@ -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;
 }