Commit eb0cc045 authored by Arlo Breault's avatar Arlo Breault
Browse files

Appease go vet

parent a0a45764
......@@ -240,7 +240,7 @@ func (e *Exits) Load(source io.Reader, update bool) error {
if mask := net.ParseIP(r.Mask); r.IP != nil && mask != nil {
m := make(net.IPMask, len(mask))
copy(m, mask)
r.IPNet = &net.IPNet{r.IP.Mask(m), m}
r.IPNet = &net.IPNet{IP: r.IP.Mask(m), Mask: m}
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment