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