diff --git a/.gitignore b/.gitignore index 94f63b9f26..a9b5777c6d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ a.out build_src command-line-arguments.test .flymake* +docker.test diff --git a/network_test.go b/network_test.go index c456b54838..251ec158fd 100644 --- a/network_test.go +++ b/network_test.go @@ -102,7 +102,7 @@ func TestConversion(t *testing.T) { func TestIPAllocator(t *testing.T) { gwIP, n, _ := net.ParseCIDR("127.0.0.1/29") - alloc, err := newIPAllocator(&net.IPNet{gwIP, n.Mask}) + alloc, err := newIPAllocator(&net.IPNet{IP: gwIP, Mask: n.Mask}) if err != nil { t.Fatal(err) }