]> git.ipfire.org Git - thirdparty/lxc.git/commit
network: convert param ifname to const.
authorDongsheng Yang <yangds.fnst@cn.fujitsu.com>
Thu, 11 Sep 2014 12:43:57 +0000 (20:43 +0800)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 15 Oct 2014 09:54:44 +0000 (11:54 +0200)
commit599781664bdd7adde21291d5581cc26c5769c3d0
treeb4297b541978753e4385ea271495e5e4c2c00555
parentecec0126b595a4bafc43023f0fb9f072b61a907e
network: convert param ifname to const.

We should not modify ifname in lxc_netdev_move_by_name(),
making it as const in param list will make our code more
robust.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/network.c
src/lxc/network.h