Skip to content

Commit 11e2540

Browse files
committed
resolve merge conflicts
2 parents abaeb9d + f2ab1aa commit 11e2540

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/mqpublish.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ func Checkin(ctx context.Context, wg *sync.WaitGroup) {
8080
// if config.Netclient().CurrGwNmIP is not nil, it's an InetClient, then it skips the network change detection
8181
if !config.Netclient().IsStatic && config.Netclient().CurrGwNmIP == nil {
8282
restart := false
83-
ip4, _ := GetPublicIP(4)
84-
ip6, _ := GetPublicIP(6)
83+
ip4, _, _ := holePunchWgPort(4, 0)
84+
ip6, _, _ := holePunchWgPort(6, 0)
8585
if ip4 == nil && ip6 == nil {
8686
continue
8787
}

0 commit comments

Comments
 (0)