mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-09 13:41:41 -07:00
need to handle TestReply
This commit is contained in:
parent
3f1bbfa007
commit
9a63ba8502
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue