strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9052216
)
pluto: Install IN policy of a shunt eroute with protocol.
author
Tobias Brunner
<tobias@strongswan.org>
Tue, 10 Aug 2010 13:09:13 +0000
(15:09 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Thu, 2 Sep 2010 17:04:23 +0000
(19:04 +0200)
src/pluto/kernel.c
patch
|
blob
|
history
diff --git
a/src/pluto/kernel.c
b/src/pluto/kernel.c
index
8b22bc2
..
c7a9dd5
100644
(file)
--- a/
src/pluto/kernel.c
+++ b/
src/pluto/kernel.c
@@
-1387,7
+1387,8
@@
static bool shunt_eroute(connection_t *c, struct spd_route *sr,
ok = raw_eroute(&c->spd.that.host_addr, &c->spd.that.client,
&c->spd.this.host_addr, &c->spd.this.client, htonl(spi),
- SA_INT, SADB_X_SATYPE_INT, 0, &null_ipsec_sa, 0,
+ SA_INT, SADB_X_SATYPE_INT, sr->this.protocol,
+ &null_ipsec_sa, 0,
op | (SADB_X_SAFLAGS_INFLOW << ERO_FLAG_SHIFT), opname);
return eroute_connection(sr, htonl(spi), SA_INT, SADB_X_SATYPE_INT,