]> git.ipfire.org Git - thirdparty/lxc.git/commit
Only bring up network interface if IFF_UP is set
authorDavid Ward <david.ward@ll.mit.edu>
Mon, 17 Jan 2011 09:18:50 +0000 (10:18 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 17 Jan 2011 09:18:50 +0000 (10:18 +0100)
commitb0efbac48e8646ba62aca04b43acaa887ef4ec81
treea49eecf2164629c6fe61c8aee44b3bf19eb5e2b4
parent6e35af2e3911b5e8dc6e9091391beb8adfe449c6
Only bring up network interface if IFF_UP is set

Each network interface was brought up regardless of the configuration,
as the wrong boolean operator was being used to test the IFF_UP flag.

Signed-off-by: David Ward <david.ward@ll.mit.edu>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/conf.c