~ubuntu-branches/ubuntu/karmic/iproute/karmic

« back to all changes in this revision

Viewing changes to ip/ipxfrm.c

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2006-11-14 15:18:53 UTC
  • mto: (3.1.1 etch) (1.1.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20061114151853-4pojonfwjxhzx7z9
Tags: upstream-20061002
ImportĀ upstreamĀ versionĀ 20061002

Show diffs side-by-side

added added

removed removed

Lines of Context:
445
445
        case IPPROTO_TCP:
446
446
        case IPPROTO_UDP:
447
447
        case IPPROTO_SCTP:
 
448
        case IPPROTO_DCCP:
448
449
        default: /* XXX */
449
450
                if (sel->sport_mask)
450
451
                        fprintf(fp, "sport %u ", ntohs(sel->sport));
999
1000
                case IPPROTO_TCP:
1000
1001
                case IPPROTO_UDP:
1001
1002
                case IPPROTO_SCTP:
 
1003
                case IPPROTO_DCCP:
1002
1004
                        break;
1003
1005
                default:
1004
1006
                        fprintf(stderr, "\"sport\" and \"dport\" are invalid with proto=%s\n", strxf_proto(sel->proto));