diff options
author | Jonh Wendell <jonh.wendell@vexcorp.com> | 2012-01-04 15:44:01 -0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-02-29 13:48:00 +0100 |
commit | d65702c5c5bbab0ef12298386fa4098c72584e6c (patch) | |
tree | 1a061792b1080f48cee26e72dd14aa67e0010afc /include/libiptc/libiptc.h | |
parent | 98e1769b65b71989e3f16b25529b40f374aef323 (diff) |
libiptc: Returns the position the entry was inserted
Jan Engelhardt showed no objections to this patch.
Diffstat (limited to 'include/libiptc/libiptc.h')
-rw-r--r-- | include/libiptc/libiptc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libiptc/libiptc.h b/include/libiptc/libiptc.h index 24cdbdb7..b9a42c96 100644 --- a/include/libiptc/libiptc.h +++ b/include/libiptc/libiptc.h @@ -74,7 +74,8 @@ int iptc_replace_entry(const xt_chainlabel chain, struct xtc_handle *handle); /* Append entry `e' to chain `chain'. Equivalent to insert with - rulenum = length of chain. */ + rulenum = length of chain. Returns the position the entry was + inserted or 0 if an error occurs */ int iptc_append_entry(const xt_chainlabel chain, const struct ipt_entry *e, struct xtc_handle *handle); |