Skip to content

Commit

Permalink
vxlan device mask to 32
Browse files Browse the repository at this point in the history
  • Loading branch information
cssivision committed Feb 23, 2018
1 parent 09da307 commit ede640d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

Expand Down

0 comments on commit ede640d

Please sign in to comment.