1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-05 07:50:24 +08:00

fix(nat): panic on notify nil

This commit is contained in:
源文雨
2025-02-21 15:14:15 +09:00
parent da99140e10
commit 409f0f270b

View File

@@ -108,7 +108,7 @@ func (l *Link) onQuery(packet []byte) {
if eps == "" { if eps == "" {
continue continue
} }
if ok { if ok && lnk.endpoint != nil {
notify[p] = [2]string{ notify[p] = [2]string{
lnk.endpoint.Network(), lnk.endpoint.Network(),
eps, eps,