Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37920300
en ru br
ALT Linux repos
S:5.17.0-alt2
5.0: 2.6.26-alt1
4.1: 2.6.23-alt2
4.0: 2.6.20.20070313-alt1
3.0: 2.4.7.20020116-alt5.1

Group :: Networking/Other
RPM: iproute2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: iproute2-2.6.29-IPPROTO_IP_for_SA.patch
Download


diff -Naur iproute2-2.6.29-1/ip/ipxfrm.c iproute2-2.6.29-1.tpg/ip/ipxfrm.c
--- iproute2-2.6.29-1/ip/ipxfrm.c	2009-03-24 22:40:54.000000000 +0000
+++ iproute2-2.6.29-1.tpg/ip/ipxfrm.c	2009-06-20 16:28:38.000000000 +0000
@@ -1156,6 +1156,7 @@
 		case IPPROTO_UDP:
 		case IPPROTO_SCTP:
 		case IPPROTO_DCCP:
+		case IPPROTO_IP:	/* to allow shared SA for different protocols */
 			break;
 		default:
 			fprintf(stderr, "\"sport\" and \"dport\" are invalid with proto=%s\n", strxf_proto(sel->proto));
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin