remove redundant return

This commit is contained in:
Alex
2025-02-06 15:03:23 -05:00
committed by Cuong Manh Le
parent 41a97a6609
commit 72f0b89fdc

View File

@@ -1372,11 +1372,6 @@ func (p *prog) monitorNetworkChanges(ctx context.Context) error {
}
}
if selfIP == "" {
mainLog.Load().Debug().Msg("No valid IPv4 found on default route interface")
return
}
if ip := net.ParseIP(selfIP); ip != nil {
ctrld.SetDefaultLocalIPv4(ip)
if !isMobile() && p.ciTable != nil {