File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -132,9 +132,6 @@ func (m *defaultInterfaceMonitor) DefaultInterfaceName(destination netip.Addr) s
132132 }
133133 }
134134 }
135- if m .defaultInterfaceIndex == - 1 {
136- m .checkUpdate ()
137- }
138135 return m .defaultInterfaceName
139136}
140137
@@ -146,9 +143,6 @@ func (m *defaultInterfaceMonitor) DefaultInterfaceIndex(destination netip.Addr)
146143 }
147144 }
148145 }
149- if m .defaultInterfaceIndex == - 1 {
150- m .checkUpdate ()
151- }
152146 return m .defaultInterfaceIndex
153147}
154148
@@ -160,9 +154,6 @@ func (m *defaultInterfaceMonitor) DefaultInterface(destination netip.Addr) (stri
160154 }
161155 }
162156 }
163- if m .defaultInterfaceIndex == - 1 {
164- m .checkUpdate ()
165- }
166157 return m .defaultInterfaceName , m .defaultInterfaceIndex
167158}
168159
You can’t perform that action at this time.
0 commit comments