correct single host mask

This commit is contained in:
Callan Bryant 2020-03-02 21:39:45 +00:00
parent 1fdf4fe71f
commit 335d232727
No known key found for this signature in database
GPG Key ID: C31FA9DF3ACBFFAA

2
add.go
View File

@ -23,7 +23,7 @@ func Add(hostname string, owner string, description string) { //, publicKey stri
JSONIPNet{
IPNet: net.IPNet{
IP: IP,
Mask: conf.Network.IPNet.Mask,
Mask: net.CIDRMask(32, 32),
},
},
},