pandora: use public identity address for public addresses

This commit is contained in:
uael
2023-09-21 15:24:31 -07:00
committed by Lucas Abel
parent d290df4aa9
commit 2f97531d78

View File

@@ -233,7 +233,11 @@ class SecurityService(SecurityServicer):
sc=config.pairing_sc_enable,
mitm=config.pairing_mitm_enable,
bonding=config.pairing_bonding_enable,
identity_address_type=config.identity_address_type,
identity_address_type=(
PairingConfig.AddressType.PUBLIC
if connection.self_address.is_public
else config.identity_address_type
),
delegate=PairingDelegate(
connection,
self,