From 418a3a4f4d4e38abd1d691f81f2445590f02ecaf Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Mon, 30 May 2011 17:48:01 +0200 Subject: hash:net,iface type introduced The hash:net,iface type makes possible to store network address and interface name pairs in a set. It's mostly suitable for egress and ingress filtering. Examples: # ipset create test hash:net,iface # ipset add test 192.168.0.0/16,eth0 # ipset add test 192.168.0.0/24,eth1 --- lib/debug.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/debug.c') diff --git a/lib/debug.c b/lib/debug.c index 174567d..5b97e6e 100644 --- a/lib/debug.c +++ b/lib/debug.c @@ -63,6 +63,7 @@ static const struct ipset_attrname adtattr2name[] = { [IPSET_ATTR_IP2] = { .name = "IP2" }, [IPSET_ATTR_CIDR2] = { .name = "CIDR2" }, [IPSET_ATTR_IP2_TO] = { .name = "IP2_TO" }, + [IPSET_ATTR_IFACE] = { .name = "IFACE" }, }; static void -- cgit v1.2.3