From ede640df2f67f556bd5ce74b51325d49e58fdb1e Mon Sep 17 00:00:00 2001 From: cssivision Date: Fri, 23 Feb 2018 14:51:19 +0800 Subject: [PATCH] vxlan device mask to 32 --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 76631c8..413f2d1 100644 --- a/main.go +++ b/main.go @@ -83,7 +83,7 @@ func main() { go handleSubnets(ctx, sn, &sm, dev) - if err := dev.configure(fmt.Sprintf("%v/30", snIP.ToIP())); err != nil { + if err := dev.configure(fmt.Sprintf("%v/32", snIP.ToIP())); err != nil { panic(fmt.Errorf("failed to configure interface %s: %s", dev.link.Attrs().Name, err)) }