commit | de4d2d3b716d83a6d3831aaf902c5adb5d1d14c9 | [log] [tgz] |
---|---|---|
author | Jan Engelhardt <jengelh@medozas.de> | Sat Aug 27 12:50:32 2011 +0200 |
committer | Jan Engelhardt <jengelh@medozas.de> | Sun Sep 11 17:31:35 2011 +0200 |
tree | 3d9a38fd4c2b36d3613099f9b77a47c4a3c64cc9 | |
parent | 14da56743c6cdf25da35b7b5ca7a5d201771990d [diff] [blame] |
libiptc: use a family-invariant xtc_ops struct for code reduction Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
diff --git a/libiptc/libip6tc.c b/libiptc/libip6tc.c index 9febee3..7128e1c 100644 --- a/libiptc/libip6tc.c +++ b/libiptc/libip6tc.c
@@ -88,6 +88,7 @@ #define TC_STRERROR ip6tc_strerror #define TC_NUM_RULES ip6tc_num_rules #define TC_GET_RULE ip6tc_get_rule +#define TC_OPS ip6tc_ops #define TC_AF AF_INET6 #define TC_IPPROTO IPPROTO_IPV6