source:
freewrt/package/iproute2/patches/002-iproute2-ipxfrm_no_sctp.patch@
b917538
| Last change on this file since b917538 was b917538, checked in by , 19 years ago | |
|---|---|
|
|
| File size: 721 bytes | |
-
iproute2-2.6.16-060323
diff -Nur iproute2-2.6.16-060323/ip/ipxfrm.c iproute2-2.6.16-060323.no_sctp/ip/ipxfrm.c
old new 444 444 switch (sel->proto) { 445 445 case IPPROTO_TCP: 446 446 case IPPROTO_UDP: 447 case IPPROTO_SCTP:448 case IPPROTO_DCCP:449 447 default: /* XXX */ 450 448 if (sel->sport_mask) 451 449 fprintf(fp, "sport %u ", ntohs(sel->sport)); … … 999 997 switch (sel->proto) { 1000 998 case IPPROTO_TCP: 1001 999 case IPPROTO_UDP: 1002 case IPPROTO_SCTP:1003 case IPPROTO_DCCP:1004 1000 break; 1005 1001 default: 1006 1002 fprintf(stderr, "\"sport\" and \"dport\" are invalid with proto=%s\n", strxf_proto(sel->proto));
Note:
See TracBrowser
for help on using the repository browser.
