Openwrt/package/iproute2/patches/002-iproute2-ipxfrm_no_sctp.patch
Jo-Philipp Wich 84e9706d09 iproute2: update to v2.6.31 (#7354)
SVN-Revision: 21513
2010-05-20 06:09:49 +00:00

19 lines
445 B
Diff

--- a/ip/ipxfrm.c
+++ b/ip/ipxfrm.c
@@ -467,7 +467,6 @@ void xfrm_selector_print(struct xfrm_sel
switch (sel->proto) {
case IPPROTO_TCP:
case IPPROTO_UDP:
- case IPPROTO_SCTP:
case IPPROTO_DCCP:
default: /* XXX */
if (sel->sport_mask)
@@ -1130,7 +1129,6 @@ static int xfrm_selector_upspec_parse(st
switch (sel->proto) {
case IPPROTO_TCP:
case IPPROTO_UDP:
- case IPPROTO_SCTP:
case IPPROTO_DCCP:
break;
default: