conf: non-functional changes

parent 6df3fc2d
......@@ -2402,7 +2402,10 @@ static int setup_netdev(struct lxc_netdev *netdev)
return -1;
}
/* default: let the system to choose one interface name */
/* Default: let the system to choose one interface name.
* When the IFLA_IFNAME attribute is passed something like "<prefix>%d"
* netlink will replace the format specifier with an appropriate index.
*/
if (!netdev->name)
netdev->name = netdev->type == LXC_NET_PHYS ?
netdev->link : "eth%d";
......
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