Skip to content

Commit a46dabc

Browse files
committed
#282: change default peer mask to /32
1 parent 3f72de6 commit a46dabc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/app/wireguard/wireguard_peers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ func (m Manager) getFreshPeerIpConfig(ctx context.Context, iface *domain.Interfa
372372
}
373373
}
374374

375-
ips = append(ips, ip)
375+
ips = append(ips, ip.HostAddr())
376376
}
377377

378378
return

0 commit comments

Comments
 (0)