set nexthop to him when instantiating rightallowyes template with leftnexthop == right

This commit is contained in:
Andreas Steffen
2007-06-18 20:07:47 +00:00
parent d0f55e236d
commit 280f6b1ab2
+4
View File
@@ -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 *