1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-04 23:40:26 +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 == "" {
continue
}
if ok {
if ok && lnk.endpoint != nil {
notify[p] = [2]string{
lnk.endpoint.Network(),
eps,