Skip to content

Commit

Permalink
Merge pull request #750 from ironlung975/vxlan-check-gbp
Browse files Browse the repository at this point in the history
Added compatibility check to compare GBP for VXLAN
  • Loading branch information
tomdee authored Jun 16, 2017
2 parents dec0c1f + c5b207f commit cbc06a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/vxlan/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ func vxlanLinksIncompat(l1, l2 netlink.Link) string {
return fmt.Sprintf("port: %v vs %v", v1.Port, v2.Port)
}

if v1.GBP != v2.GBP {
return fmt.Sprintf("gbp: %v vs %v", v1.GBP, v2.GBP)
}

return ""
}

Expand Down

0 comments on commit cbc06a5

Please sign in to comment.