mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #361 from dave-tucker/bug/358
Use IANA assigned VXLAN port
This commit is contained in:
commit
61b35139b3
2 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,7 @@ func createVxlan(vni uint32) (string, error) {
|
|||
LinkAttrs: netlink.LinkAttrs{Name: name},
|
||||
VxlanId: int(vni),
|
||||
Learning: true,
|
||||
Port: vxlanPort,
|
||||
Proxy: true,
|
||||
L3miss: true,
|
||||
L2miss: true,
|
||||
|
|
|
@ -21,6 +21,7 @@ const (
|
|||
vethLen = 7
|
||||
vxlanIDStart = 256
|
||||
vxlanIDEnd = 1000
|
||||
vxlanPort = 4789
|
||||
)
|
||||
|
||||
type driver struct {
|
||||
|
|
Loading…
Add table
Reference in a new issue