add some ioctl stuff from wrt54gs.2.06 source
[openwrt.git] / package / iproute2 / patches / iproute2-ipxfrm_no_sctp.patch
1 --- iproute2-2.6.9.old/ip/ipxfrm.c 2005-01-30 19:09:32.000000000 +0100
2 +++ iproute2-2.6.9/ip/ipxfrm.c 2005-01-30 19:10:31.000000000 +0100
3 @@ -392,7 +392,6 @@
4 switch (sel->proto) {
5 case IPPROTO_TCP:
6 case IPPROTO_UDP:
7 - case IPPROTO_SCTP:
8 default: /* XXX */
9 if (sel->sport_mask)
10 fprintf(fp, "sport %u ", ntohs(sel->sport));
11 @@ -787,7 +786,6 @@
12 switch (sel->proto) {
13 case IPPROTO_TCP:
14 case IPPROTO_UDP:
15 - case IPPROTO_SCTP:
16 break;
17 default:
18 fprintf(stderr, "\"sport\" and \"dport\" are invalid with proto=%s\n", strxf_proto(sel->proto));
This page took 0.047852 seconds and 5 git commands to generate.