mirror of
https://github.com/moby/moby.git
synced 2026-07-13 02:52:20 +00:00
libnetwork: overlayutils: remove redundant init()
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -8,14 +8,10 @@ import (
|
||||
|
||||
var (
|
||||
mutex sync.RWMutex
|
||||
vxlanUDPPort uint32
|
||||
vxlanUDPPort = defaultVXLANUDPPort
|
||||
)
|
||||
|
||||
const defaultVXLANUDPPort = 4789
|
||||
|
||||
func init() {
|
||||
vxlanUDPPort = defaultVXLANUDPPort
|
||||
}
|
||||
const defaultVXLANUDPPort uint32 = 4789
|
||||
|
||||
// ConfigVXLANUDPPort configures the VXLAN UDP port (data path port) number.
|
||||
// If no port is set, the default (4789) is returned. Valid port numbers are
|
||||
|
||||
Reference in New Issue
Block a user