summaryrefslogtreecommitdiffstats
path: root/lib/print.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-03-18 17:24:50 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-03-18 17:24:50 +0100
commitf284b0d07b5d99e745312cbcc0fd95a6a4a7f5b4 (patch)
tree8dc08a86b3c9cc78456aaff8995db2f6f4fca9c6 /lib/print.c
parent6b88433a9334f3f0fc44ee52867326ce20c4af15 (diff)
SCTP, UDPLITE support added
SCTP and UDPLITE port support added to the hash:*port* types.
Diffstat (limited to 'lib/print.c')
-rw-r--r--lib/print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/print.c b/lib/print.c
index 5284b0a..66b9c1a 100644
--- a/lib/print.c
+++ b/lib/print.c
@@ -585,7 +585,9 @@ ipset_print_proto_port(char *buf, unsigned int len,
switch (proto) {
case IPPROTO_TCP:
+ case IPPROTO_SCTP:
case IPPROTO_UDP:
+ case IPPROTO_UDPLITE:
break;
case IPPROTO_ICMP:
return ipset_print_icmp(buf + offset, len, data,