]>
Commit | Line | Data |
---|---|---|
094be68a MT |
1 | diff --git a/ip/ipxfrm.c b/ip/ipxfrm.c |
2 | index 0495ff4..b1d4c6e 100644 | |
3 | --- a/ip/ipxfrm.c | |
4 | +++ b/ip/ipxfrm.c | |
5 | @@ -1275,6 +1275,7 @@ static int xfrm_selector_upspec_parse(struct xfrm_selector *sel, | |
6 | case IPPROTO_UDP: | |
7 | case IPPROTO_SCTP: | |
8 | case IPPROTO_DCCP: | |
9 | + case IPPROTO_IP: /* to allow shared SA for different protocols */ | |
10 | break; | |
11 | default: | |
12 | fprintf(stderr, "\"sport\" and \"dport\" are invalid with PROTO value \"%s\"\n", strxf_proto(sel->proto)); |