From 7981ab168eacf7ac259912327f919a9964bcad50 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Mon, 29 Jan 2018 12:31:25 +0100 Subject: [PATCH] balls --- modules/net_recon_sort.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/net_recon_sort.go b/modules/net_recon_sort.go index 716e9ea1..89e7b4e0 100644 --- a/modules/net_recon_sort.go +++ b/modules/net_recon_sort.go @@ -13,9 +13,8 @@ func (a ByAddressSorter) Swap(i, j int) { a[i], a[j] = a[j], a[i] } func (a ByAddressSorter) Less(i, j int) bool { if a[i].IpAddressUint32 == a[j].IpAddressUint32 { return a[i].HwAddress < a[j].HwAddress - } else { - return a[i].IpAddressUint32 < a[j].IpAddressUint32 } + return a[i].IpAddressUint32 < a[j].IpAddressUint32 } type BySeenSorter []*net.Endpoint