From: Daniel Lezcano Date: Fri, 28 May 2010 09:49:25 +0000 (+0200) Subject: fix whitespace X-Git-Tag: lxc-0.7.0~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3df193c5035ac866de1e4e9d484431ce707c4ad;p=thirdparty%2Flxc.git fix whitespace Fix whitespace. Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/conf.c b/src/lxc/conf.c index f4ed89609..e003852f8 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -960,7 +960,7 @@ static int setup_ipv6_addr(struct lxc_list *ip, int ifindex) inet6dev = iterator->elem; - err = lxc_ipv6_addr_add(ifindex, &inet6dev->addr, + err = lxc_ipv6_addr_add(ifindex, &inet6dev->addr, &inet6dev->mcast, &inet6dev->acast, inet6dev->prefix); if (err) { diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 993f9704f..06f4b2c0b 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -414,11 +414,11 @@ static int config_network_ipv4(const char *key, char *value, inetdev->prefix = prefix ? atoi(prefix) : config_ip_prefix(&inetdev->addr); - /* if no broadcast address, let compute one from the + /* if no broadcast address, let compute one from the * prefix and address */ if (!bcast) { - inetdev->bcast.s_addr = + inetdev->bcast.s_addr = htonl(INADDR_BROADCAST << (32 - inetdev->prefix)); inetdev->bcast.s_addr &= inetdev->addr.s_addr; }