feat: comment cleanup
This commit is contained in:
1 parent
6b14a95434
commit
648c55415b
112 files changed
+655
-2161
No files matched your search
@@ -20,7 +20,7 @@ func New(log logx.Logger) (*Manager, error) {
|
||||
return nil, err
|
||||
}
|
||||
if gw == "" {
|
||||
return nil, nil // unsupported platform
|
||||
return nil, nil
|
||||
}
|
||||
return &Manager{
|
||||
gateway: gw,
|
||||
@@ -42,7 +42,7 @@ func (m *Manager) EnsureRouteToTURN(ip net.IP) {
|
||||
}
|
||||
v4 := ip.To4()
|
||||
if v4 == nil {
|
||||
return // IPv6 not supported
|
||||
return
|
||||
}
|
||||
key := v4.String()
|
||||
|
||||
|
||||
Reference in new issue
Block a user