0f6f269d40f0dc0955797d3b4d720eb84d11067c
[openwrt/openwrt.git] / package / network / utils / iproute2 / patches / 006-no_sctp.patch
1 --- a/ip/ipxfrm.c
2 +++ b/ip/ipxfrm.c
3 @@ -465,7 +465,6 @@ void xfrm_selector_print(struct xfrm_sel
4 switch (sel->proto) {
5 case IPPROTO_TCP:
6 case IPPROTO_UDP:
7 - case IPPROTO_SCTP:
8 case IPPROTO_DCCP:
9 default: /* XXX */
10 if (sel->sport_mask)
11 @@ -1321,7 +1320,6 @@ static int xfrm_selector_upspec_parse(st
12 switch (sel->proto) {
13 case IPPROTO_TCP:
14 case IPPROTO_UDP:
15 - case IPPROTO_SCTP:
16 case IPPROTO_DCCP:
17 case IPPROTO_IP: /* to allow shared SA for different protocols */
18 break;