Skip to content
Snippets Groups Projects
Commit 14c2cb4c authored by Daniel Czerwonk's avatar Daniel Czerwonk
Browse files

fixed test

parent 3d740bfe
Branches
Tags
No related merge requests found
......@@ -26,7 +26,7 @@ func IPFromProtoIP(addr api.IP) IP {
// ToProto converts an IP to a proto IP
func (ip IP) ToProto() *api.IP {
ver := api.IP_IPv6
if ip.IsLegacy() {
if ip.isLegacy {
ver = api.IP_IPv4
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment