2009-07-11 22:05:54 +08:00
|
|
|
--- a/ip/ipxfrm.c
|
|
|
|
+++ b/ip/ipxfrm.c
|
|
|
|
@@ -491,7 +491,6 @@ void xfrm_selector_print(struct xfrm_sel
|
2005-03-06 11:34:52 +08:00
|
|
|
switch (sel->proto) {
|
|
|
|
case IPPROTO_TCP:
|
|
|
|
case IPPROTO_UDP:
|
|
|
|
- case IPPROTO_SCTP:
|
2007-06-09 21:17:46 +08:00
|
|
|
case IPPROTO_DCCP:
|
2005-03-06 11:34:52 +08:00
|
|
|
default: /* XXX */
|
|
|
|
if (sel->sport_mask)
|
2009-07-11 22:05:54 +08:00
|
|
|
@@ -1154,7 +1153,6 @@ static int xfrm_selector_upspec_parse(st
|
2005-03-06 11:34:52 +08:00
|
|
|
switch (sel->proto) {
|
|
|
|
case IPPROTO_TCP:
|
|
|
|
case IPPROTO_UDP:
|
|
|
|
- case IPPROTO_SCTP:
|
2007-06-09 21:17:46 +08:00
|
|
|
case IPPROTO_DCCP:
|
2005-03-06 11:34:52 +08:00
|
|
|
break;
|
|
|
|
default:
|