mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 17:12:14 +00:00
network: record created_name for instantiate_phys()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
75b074eea0
commit
61302ef7dc
@ -666,6 +666,8 @@ static int instantiate_phys(struct lxc_handler *handler, struct lxc_netdev *netd
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strlcpy(netdev->created_name, netdev->link, IFNAMSIZ);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Store the ifindex of the host's network device in the host's
|
* Store the ifindex of the host's network device in the host's
|
||||||
* namespace.
|
* namespace.
|
||||||
|
Loading…
Reference in New Issue
Block a user