mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-14 01:04:14 +00:00
parent
b1acc37c16
commit
01ade9c8ae
@ -245,7 +245,9 @@ next:
|
|||||||
|
|
||||||
deviceCfg, ok := s.cfg.Device(remoteID)
|
deviceCfg, ok := s.cfg.Device(remoteID)
|
||||||
if !ok {
|
if !ok {
|
||||||
panic("bug: unknown device should already have been rejected")
|
l.Infof("Device %s removed from config during connection attempt at %s", remoteID, c)
|
||||||
|
c.Close()
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// Verify the name on the certificate. By default we set it to
|
// Verify the name on the certificate. By default we set it to
|
||||||
|
Loading…
Reference in New Issue
Block a user