summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/002-iproute2-ipxfrm_no_sctp.patch
blob: 3b1f4d64701e70c5e8a973b7f3a3124db2d0f27d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
 ip/ipxfrm.c |    2 --
 1 file changed, 2 deletions(-)

--- a/ip/ipxfrm.c
+++ b/ip/ipxfrm.c
@@ -468,7 +468,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)
@@ -1263,7 +1262,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: