Re: [lxc-devel] [PATCH 1/1] lxc-user-nic: use common code from network.c

2013-11-25 Thread Stéphane Graber
On Fri, Nov 22, 2013 at 08:04:59PM -0600, Serge Hallyn wrote: > This pulls a lot of common code out of lxc_user_nic.c. It also > moves one function from conf.c that was duplicated in lxc_user_nic.c > (It removes a DEBUG statement because (a) it doesn't seem actually > useful and (b) DEBUG doesn't

[lxc-devel] [PATCH 1/1] lxc-user-nic: use common code from network.c

2013-11-22 Thread Serge Hallyn
This pulls a lot of common code out of lxc_user_nic.c. It also moves one function from conf.c that was duplicated in lxc_user_nic.c (It removes a DEBUG statement because (a) it doesn't seem actually useful and (b) DEBUG doesn't work in network.c). Also replace the old test of only parsing code wi