]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc: let lxc-start support wlan phys
authorfli <fupan.li@windriver.com>
Tue, 1 Dec 2015 11:17:29 +0000 (19:17 +0800)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 3 Dec 2015 06:14:15 +0000 (01:14 -0500)
commitf2e206ff4770fd2e7d642481c873dffafb4627d8
tree22fd7f0df0c9516d94b6780fb0f3e967d09502c6
parent6039eaa23692f417457a2af3c6fc7ce01d78b5c2
lxc: let lxc-start support wlan phys

The commit: e5848d395cb <netdev_move_by_index: support wlan> only
made netdev_move_by_name support wlan, instead of netdev_move_by_index.

Given netdev_move_by_name is a wrapper of netdev_move_by_index, so here
replacing all of the call to lxc_netdev_move_by_index with lxc_netdev_move_by_name
to let lxc-start support wlan phys.

Signed-off-by: fupan li <fupan.li@windriver.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/conf.c