source: freewrt/package/iproute2/patches/002-iproute2-ipxfrm_no_sctp.patch@ 6fc4520e

freewrt_1_0 freewrt_2_0
Last change on this file since 6fc4520e was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
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  
    444444        switch (sel->proto) {
    445445        case IPPROTO_TCP:
    446446        case IPPROTO_UDP:
    447         case IPPROTO_SCTP:
    448447        default: /* XXX */
    449448                if (sel->sport_mask)
    450449                        fprintf(fp, "sport %u ", ntohs(sel->sport));
     
    998997                switch (sel->proto) {
    999998                case IPPROTO_TCP:
    1000999                case IPPROTO_UDP:
    1001                 case IPPROTO_SCTP:
    10021000                        break;
    10031001                default:
    10041002                        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.