From fb203a2e454a9907d017ed3c61c7002ed3065977 Mon Sep 17 00:00:00 2001 From: qzydustin <44362429+qzydustin@users.noreply.github.com> Date: Sun, 23 Jul 2023 08:12:12 -0700 Subject: [PATCH] Format code --- hscontrol/types/machine.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/hscontrol/types/machine.go b/hscontrol/types/machine.go index 332345f7..4e5a940f 100644 --- a/hscontrol/types/machine.go +++ b/hscontrol/types/machine.go @@ -77,11 +77,9 @@ type MachineAddresses []netip.Addr func (ma MachineAddresses) Sort() { sort.Slice(ma, func(index1, index2 int) bool { if ma[index1].Is4() && ma[index2].Is6() { - return true } if ma[index1].Is6() && ma[index2].Is4() { - return false }