This reverts commit
d65702c5c5bbab0ef12298386fa4098c72584e6c.
This is breaking my iptables scripts:
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables: Incompatible with this kernel.
struct xtc_handle *handle);
/* Append entry `e' to chain `chain'. Equivalent to insert with
- rulenum = length of chain. Returns the position the entry was
- inserted or 0 if an error occurs */
+ rulenum = length of chain. */
int iptc_append_entry(const xt_chainlabel chain,
const struct ipt_entry *e,
struct xtc_handle *handle);
}
/* Append entry `fw' to chain `chain'. Equivalent to insert with
- rulenum = length of chain. Returns the position the entry was
- inserted or 0 if an error occurs */
+ rulenum = length of chain. */
int
TC_APPEND_ENTRY(const IPT_CHAINLABEL chain,
const STRUCT_ENTRY *e,
set_changed(handle);
- return c->num_rules;
+ return 1;
}
static inline int