mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 08:16:39 +00:00
[client] Add IPv6 support to ACL manager, USP filter, and forwarder (#5688)
This commit is contained in:
@@ -1055,7 +1055,11 @@ func (d *Status) notifyPeerListChanged() {
|
||||
}
|
||||
|
||||
func (d *Status) notifyAddressChanged() {
|
||||
d.notifier.localAddressChanged(d.localPeer.FQDN, d.localPeer.IP)
|
||||
addr := d.localPeer.IP
|
||||
if d.localPeer.IPv6 != "" {
|
||||
addr = addr + "\n" + d.localPeer.IPv6
|
||||
}
|
||||
d.notifier.localAddressChanged(d.localPeer.FQDN, addr)
|
||||
}
|
||||
|
||||
func (d *Status) numOfPeers() int {
|
||||
|
||||
Reference in New Issue
Block a user