Update iproute2 to version 2.6.25, and fixup patches
[openwrt-10.03/.git] / package / iproute2 / patches / 002-iproute2-ipxfrm_no_sctp.patch
1 Index: iproute2-2.6.25/ip/ipxfrm.c
2 ===================================================================
3 --- iproute2-2.6.25.orig/ip/ipxfrm.c    2008-04-17 18:12:54.000000000 +0100
4 +++ iproute2-2.6.25/ip/ipxfrm.c 2008-05-01 00:38:40.000000000 +0100
5 @@ -490,7 +490,6 @@ void xfrm_selector_print(struct xfrm_sel
6         switch (sel->proto) {
7         case IPPROTO_TCP:
8         case IPPROTO_UDP:
9 -       case IPPROTO_SCTP:
10         case IPPROTO_DCCP:
11         default: /* XXX */
12                 if (sel->sport_mask)
13 @@ -1121,7 +1120,6 @@ static int xfrm_selector_upspec_parse(st
14                 switch (sel->proto) {
15                 case IPPROTO_TCP:
16                 case IPPROTO_UDP:
17 -               case IPPROTO_SCTP:
18                 case IPPROTO_DCCP:
19                         break;
20                 default: