source:
freewrt/package/iproute2/patches/002-iproute2-ipxfrm_no_sctp.patch@
6fc4520e
| Last change on this file since 6fc4520e was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 670 bytes | |
-
iproute2-2.6.11-050330
diff -Nur iproute2-2.6.11-050330/ip/ipxfrm.c iproute2-2.6.11-050330.new/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 447 default: /* XXX */ 449 448 if (sel->sport_mask) 450 449 fprintf(fp, "sport %u ", ntohs(sel->sport)); … … 998 997 switch (sel->proto) { 999 998 case IPPROTO_TCP: 1000 999 case IPPROTO_UDP: 1001 case IPPROTO_SCTP:1002 1000 break; 1003 1001 default: 1004 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.
