refresh all package patches in the buildroot using quilt
[openwrt-10.03/.git] / package / iproute2 / patches / 002-iproute2-ipxfrm_no_sctp.patch
1 Index: iproute2-2.6.15-060110/ip/ipxfrm.c
2 ===================================================================
3 --- iproute2-2.6.15-060110.orig/ip/ipxfrm.c     2007-06-04 13:22:33.399777744 +0200
4 +++ iproute2-2.6.15-060110/ip/ipxfrm.c  2007-06-04 13:22:34.104670584 +0200
5 @@ -444,7 +444,6 @@
6         switch (sel->proto) {
7         case IPPROTO_TCP:
8         case IPPROTO_UDP:
9 -       case IPPROTO_SCTP:
10         default: /* XXX */
11                 if (sel->sport_mask)
12                         fprintf(fp, "sport %u ", ntohs(sel->sport));
13 @@ -998,7 +997,6 @@
14                 switch (sel->proto) {
15                 case IPPROTO_TCP:
16                 case IPPROTO_UDP:
17 -               case IPPROTO_SCTP:
18                         break;
19                 default:
20                         fprintf(stderr, "\"sport\" and \"dport\" are invalid with proto=%s\n", strxf_proto(sel->proto));