mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 20:05:46 +08:00
fix missing digit
This commit is contained in:
parent
66b2a28455
commit
fb60ead1a2
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ func initWireguard(node *models.Node, privkey string, peers []wgtypes.PeerConfig
|
||||||
if network.AddressRange6 != "" {
|
if network.AddressRange6 != "" {
|
||||||
net := strings.Split(network.AddressRange6, "/")
|
net := strings.Split(network.AddressRange6, "/")
|
||||||
mask6 = net[len(net)-1]
|
mask6 = net[len(net)-1]
|
||||||
address6 = node.Address
|
address6 = node.Address6
|
||||||
}
|
}
|
||||||
|
|
||||||
setKernelDevice(ifacename, address4, mask4, address6, mask6)
|
setKernelDevice(ifacename, address4, mask4, address6, mask6)
|
||||||
|
|
Loading…
Add table
Reference in a new issue