Format code

This commit is contained in:
qzydustin authored and Kristoffer Dalby committed 2023-07-23 23:46:02 +02:00
1 parent 6567af7730
commit fb203a2e45
1 file changed
-2
-2
View File
@@ -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
}