setting the IP family enables mixed tunnels
This commit is contained in:
parent
1eab115a8b
commit
158e9386d2
|
@ -523,9 +523,9 @@ static bool netlink_raw_eroute(const ip_address *this_host
|
|||
tmpl[i].optional =
|
||||
proto_info[i].proto == IPPROTO_COMP && dir != XFRM_POLICY_OUT;
|
||||
tmpl[i].aalgos = tmpl[i].ealgos = tmpl[i].calgos = ~0;
|
||||
tmpl[i].family = that_host->u.v4.sin_family;
|
||||
tmpl[i].mode =
|
||||
proto_info[i].encapsulation == ENCAPSULATION_MODE_TUNNEL;
|
||||
|
||||
if (!tmpl[i].mode)
|
||||
{
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue