summaryrefslogtreecommitdiff
path: root/daemon/container_windows.go
diff options
context:
space:
mode:
authorJessie Frazelle <jfrazelle@users.noreply.github.com>2015-07-21 19:55:21 -0700
committerJessie Frazelle <jfrazelle@users.noreply.github.com>2015-07-21 19:55:21 -0700
commit5dda570d508475d59a42633ee67efa22f87fe52b (patch)
tree02dc73958a8ccff249234f4aad79178dc9e00d96 /daemon/container_windows.go
parent7a06e8527087cf9d21b4261b3ebe6575aba68ce1 (diff)
parenta207ce6ae4e76a69c543cee7e10cb88bbc2c2460 (diff)
downloaddocker-5dda570d508475d59a42633ee67efa22f87fe52b.tar.gz
Merge pull request #14688 from Microsoft/10662-hookupmac
Windows: Hook up user supplied MAC
Diffstat (limited to 'daemon/container_windows.go')
-rw-r--r--daemon/container_windows.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/container_windows.go b/daemon/container_windows.go
index 6a8fa25587..ebba2e72f6 100644
--- a/daemon/container_windows.go
+++ b/daemon/container_windows.go
@@ -77,9 +77,8 @@ func populateCommand(c *Container, env []string) error {
case "none":
case "default", "": // empty string to support existing containers
if !c.Config.NetworkDisabled {
- network := c.NetworkSettings
en.Interface = &execdriver.NetworkInterface{
- MacAddress: network.MacAddress,
+ MacAddress: c.Config.MacAddress,
Bridge: c.daemon.config.Bridge.VirtualSwitchName,
}
}