summaryrefslogtreecommitdiffhomepage
path: root/runsc/sandbox
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-06-11 21:39:47 +0000
committergVisor bot <gvisor-bot@google.com>2019-06-11 21:39:47 +0000
commitcec05f7aae67555a87d5ff2c1e55f5a061247712 (patch)
tree712cad12747aefc00d7b1bc7ef4d1c4aa36e1617 /runsc/sandbox
parent63aba2685e8f80983b55f9d881b8a8ee8ffe282c (diff)
parent847c4b9759c49cb30728579cfb0f4a69f1987b94 (diff)
Merge 847c4b97 (automated)
Diffstat (limited to 'runsc/sandbox')
-rw-r--r--runsc/sandbox/network.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/sandbox/network.go b/runsc/sandbox/network.go
index 1fd091514..e9e24fc58 100644
--- a/runsc/sandbox/network.go
+++ b/runsc/sandbox/network.go
@@ -228,7 +228,7 @@ func createInterfacesAndRoutesFromNS(conn *urpc.Client, nsPath string, enableGSO
if err != nil {
return fmt.Errorf("getting link for interface %q: %v", iface.Name, err)
}
- link.LinkAddress = []byte(ifaceLink.Attrs().HardwareAddr)
+ link.LinkAddress = ifaceLink.Attrs().HardwareAddr
log.Debugf("Setting up network channels")
// Create the socket for the device.