Add relay address to signal OFFER

This commit is contained in:
Zoltán Papp 2024-07-10 18:39:24 +02:00
parent 06afe64aff
commit 4e75e15ea1

View File

@ -1009,6 +1009,7 @@ func (e *Engine) receiveSignalEvents() {
Version: msg.GetBody().GetNetBirdVersion(),
RosenpassPubKey: rosenpassPubKey,
RosenpassAddr: rosenpassAddr,
RelaySrvAddress: msg.GetBody().GetRelayServerAddress(),
})
case sProto.Body_ANSWER:
remoteCred, err := signal.UnMarshalCredential(msg)