need to handle TestReply

This commit is contained in:
Wade Simmons 2026-05-05 13:29:59 -04:00
parent 3f1bbfa007
commit 9a63ba8502

View file

@ -136,6 +136,8 @@ func (f *Interface) readOutsidePackets(via ViaSender, out []byte, packet []byte,
case header.Test:
switch h.Subtype {
case header.TestReply:
f.handledEncryptedPacket(hostinfo, via)
case header.TestRequest:
// This testRequest might be from TryPromoteBest, so we should roam
// to the new IP address before responding