diff --git a/network/state/system_windows.go b/network/state/system_windows.go index a03ea5f6..651432e1 100644 --- a/network/state/system_windows.go +++ b/network/state/system_windows.go @@ -12,10 +12,6 @@ var ( getUDP6Table = iphelper.GetUDP6Table ) -func checkConnectionPID(socketInfo *socket.ConnectionInfo, connInbound bool) (pid int, inbound bool, err error) { - return socketInfo.PID, connInbound, nil -} - -func checkBindPID(socketInfo *socket.BindInfo, connInbound bool) (pid int, inbound bool, err error) { +func checkPID(socketInfo socket.Info, connInbound bool) (pid int, inbound bool, err error) { return socketInfo.PID, connInbound, nil }