network: record created_name for instantiate_phys()

parent 75b074ee
......@@ -666,6 +666,8 @@ static int instantiate_phys(struct lxc_handler *handler, struct lxc_netdev *netd
return -1;
}
strlcpy(netdev->created_name, netdev->link, IFNAMSIZ);
/*
* Store the ifindex of the host's network device in the host's
* namespace.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment