3bff8e34fc78c9dcd9c549dfa0621b7e5ed18548
[openwrt.git] / package / iproute2 / patches / 002-iproute2-ipxfrm_no_sctp.patch
1 ---
2  ip/ipxfrm.c |    2 --
3  1 file changed, 2 deletions(-)
4
5 --- iproute2-2.6.35.orig/ip/ipxfrm.c
6 +++ iproute2-2.6.35/ip/ipxfrm.c
7 @@ -467,7 +467,6 @@ void xfrm_selector_print(struct xfrm_sel
8         switch (sel->proto) {
9         case IPPROTO_TCP:
10         case IPPROTO_UDP:
11 -       case IPPROTO_SCTP:
12         case IPPROTO_DCCP:
13         default: /* XXX */
14                 if (sel->sport_mask)
15 @@ -1172,7 +1171,6 @@ static int xfrm_selector_upspec_parse(st
16                 switch (sel->proto) {
17                 case IPPROTO_TCP:
18                 case IPPROTO_UDP:
19 -               case IPPROTO_SCTP:
20                 case IPPROTO_DCCP:
21                         break;
22                 default: