summaryrefslogtreecommitdiffstats
path: root/include/libiptc/libiptc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libiptc/libiptc.h')
-rw-r--r--include/libiptc/libiptc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libiptc/libiptc.h b/include/libiptc/libiptc.h
index 4a964e03..0a491071 100644
--- a/include/libiptc/libiptc.h
+++ b/include/libiptc/libiptc.h
@@ -73,9 +73,11 @@ int iptc_append_entry(const ipt_chainlabel chain,
const struct ipt_entry *e,
iptc_handle_t *handle);
-/* Delete the first rule in `chain' which matches `e'. */
+/* Delete the first rule in `chain' which matches `e', subject to
+ matchmask (array of length == origfw) */
int iptc_delete_entry(const ipt_chainlabel chain,
const struct ipt_entry *origfw,
+ unsigned char *matchmask,
iptc_handle_t *handle);
/* Delete the rule in position `rulenum' in `chain'. */