set nexthop to him when instantiating rightallowyes template with leftnexthop == right
This commit is contained in:
1 parent
d0f55e236d
commit
280f6b1ab2
1 file changed
+4
@@ -1307,6 +1307,10 @@ instantiate(struct connection *c, const ip_address *him
|
||||
connect_to_host_pair(d);
|
||||
|
||||
return d;
|
||||
if (sameaddr(&d->spd.that.host_addr, &d->spd.this.host_nexthop))
|
||||
{
|
||||
d->spd.this.host_nexthop = *him;
|
||||
}
|
||||
}
|
||||
|
||||
struct connection *
|
||||
|
||||
Reference in new issue
Block a user