Fix typo
[openwrt.git] / package / iproute2 / patches / 002-iproute2-ipxfrm_no_sctp.patch
1 diff -Nur iproute2-2.6.11-050330/ip/ipxfrm.c iproute2-2.6.11-050330.new/ip/ipxfrm.c
2 --- iproute2-2.6.11-050330/ip/ipxfrm.c 2005-04-01 21:58:11.000000000 +0200
3 +++ iproute2-2.6.11-050330.new/ip/ipxfrm.c 2005-05-27 12:27:44.000000000 +0200
4 @@ -444,7 +444,6 @@
5 switch (sel->proto) {
6 case IPPROTO_TCP:
7 case IPPROTO_UDP:
8 - case IPPROTO_SCTP:
9 default: /* XXX */
10 if (sel->sport_mask)
11 fprintf(fp, "sport %u ", ntohs(sel->sport));
12 @@ -998,7 +997,6 @@
13 switch (sel->proto) {
14 case IPPROTO_TCP:
15 case IPPROTO_UDP:
16 - case IPPROTO_SCTP:
17 break;
18 default:
19 fprintf(stderr, "\"sport\" and \"dport\" are invalid with proto=%s\n", strxf_proto(sel->proto));
This page took 0.048127 seconds and 5 git commands to generate.