Format code

This commit is contained in:
Unrud 2026-08-02 22:12:27 +02:00
parent 85b6d6ea9d
commit 6ef2be8776
6 changed files with 55 additions and 29 deletions

View file

@ -74,7 +74,8 @@ func findDefaultHost() string {
continue
}
for _, linkLocalPrefix := range []string{
"169.254.", "fe8", "fe9", "fea", "feb"} {
"169.254.", "fe8", "fe9", "fea", "feb",
} {
if strings.HasPrefix(ip.String(), linkLocalPrefix) {
addIP(20, ip)
continue addrs