From 1e2461e4618c9664d08a61eff6f4c07a3acc8e06 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Wed, 7 Feb 2018 23:18:38 +0100 Subject: [PATCH] docs: made code clearer --- net/net_windows.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/net_windows.go b/net/net_windows.go index cd9fd99c..bc51d39e 100644 --- a/net/net_windows.go +++ b/net/net_windows.go @@ -22,6 +22,9 @@ func IPv4RouteIsGateway(ifname string, tokens []string, f func(gateway string) ( * net.Interface does not have the correct name on Windows and pcap.Interface * does not have the hardware address for some reason ... so this is what I * had to do in Windows ... tnx Microsoft <3 + * + * FIXME: Just to be clear *THIS IS SHIT*. Please someone test, find a more + * elegant solution and refactor ... i'm seriously tired of this. */ func areTheSame(iface net.Interface, piface pcap.Interface) bool {