ha: Add DH group to IKE_ADD message
It is required for IKEv1 to determine the DH group of the CHILD SAs during rekeying. It also fixes the status output for HA SAs, which so far haven't shown the DH group on the passive side. Fixes #1267.
This commit is contained in:
@@ -230,6 +230,7 @@ METHOD(ha_message_t, add_attribute, void,
|
||||
break;
|
||||
}
|
||||
/* u_int16_t */
|
||||
case HA_ALG_DH:
|
||||
case HA_ALG_PRF:
|
||||
case HA_ALG_OLD_PRF:
|
||||
case HA_ALG_ENCR:
|
||||
@@ -450,6 +451,7 @@ METHOD(enumerator_t, attribute_enumerate, bool,
|
||||
return TRUE;
|
||||
}
|
||||
/** u_int16_t */
|
||||
case HA_ALG_DH:
|
||||
case HA_ALG_PRF:
|
||||
case HA_ALG_OLD_PRF:
|
||||
case HA_ALG_ENCR:
|
||||
|
||||
Reference in New Issue
Block a user