From 73da96fe98582ad72c990db650719f9c91b6a4c4 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 12 Jul 2020 22:22:52 +0200 Subject: [PATCH] Update windows interface to match the linux one --- network/state/system_windows.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 }