diff options
author | Daniel Lezcano <daniel.lezcano@free.fr> | 2012-01-05 22:45:31 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@free.fr> | 2012-01-05 22:45:31 +0100 |
commit | 7ad84da79b4fd261931dcc1f397d8870a829d2de (patch) | |
tree | bca52915c5a2a0b16438f83215dd016144a66aad | |
parent | Set high byte of mac addresses for host veth devices to 0xfe (diff) | |
download | lxc-7ad84da79b4fd261931dcc1f397d8870a829d2de.tar.gz lxc-7ad84da79b4fd261931dcc1f397d8870a829d2de.tar.bz2 lxc-7ad84da79b4fd261931dcc1f397d8870a829d2de.zip |
fix indentation of the previous patch
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-rw-r--r-- | src/lxc/conf.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lxc/conf.c b/src/lxc/conf.c index e55318d..41039d7 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -1425,9 +1425,14 @@ static int setup_private_host_hw_addr(char *veth1) if (err < 0) return -errno; - DEBUG("mac address of host interface '%s' changed to private %02x:%02x:%02x:%02x:%02x:%02x", - veth1, ifr.ifr_hwaddr.sa_data[0] & 0xff, ifr.ifr_hwaddr.sa_data[1] & 0xff, ifr.ifr_hwaddr.sa_data[2] & 0xff, - ifr.ifr_hwaddr.sa_data[3] & 0xff, ifr.ifr_hwaddr.sa_data[4] & 0xff, ifr.ifr_hwaddr.sa_data[5] & 0xff); + DEBUG("mac address of host interface '%s' changed to private " + "%02x:%02x:%02x:%02x:%02x:%02x", veth1, + ifr.ifr_hwaddr.sa_data[0] & 0xff, + ifr.ifr_hwaddr.sa_data[1] & 0xff, + ifr.ifr_hwaddr.sa_data[2] & 0xff, + ifr.ifr_hwaddr.sa_data[3] & 0xff, + ifr.ifr_hwaddr.sa_data[4] & 0xff, + ifr.ifr_hwaddr.sa_data[5] & 0xff); return 0; } |