moved force_encap to ike_config, enables responder to enforce udp encapsulation
fixed bugs in force_encap code
This commit is contained in:
@@ -496,7 +496,7 @@ static void set_condition(private_ike_sa_t *this, ike_condition_t condition,
|
||||
this->conditions |= COND_NAT_ANY;
|
||||
break;
|
||||
case COND_NAT_FAKE:
|
||||
DBG1(DBG_IKE, "faked NAT situation to enforce UDP encapsulation");
|
||||
DBG1(DBG_IKE, "faking NAT situation to enforce UDP encapsulation");
|
||||
this->conditions |= COND_NAT_ANY;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user