]> git.ipfire.org Git - ipfire-3.x.git/blame - iproute2/patches/iproute2-3.9.0-IPPROTO_IP_for_SA.patch
iproute2: Update to 3.14.0.
[ipfire-3.x.git] / iproute2 / patches / iproute2-3.9.0-IPPROTO_IP_for_SA.patch
CommitLineData
094be68a
MT
1diff --git a/ip/ipxfrm.c b/ip/ipxfrm.c
2index 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));