From b3df193c5035ac866de1e4e9d484431ce707c4ad Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Fri, 28 May 2010 11:49:25 +0200 Subject: [PATCH] fix whitespace Fix whitespace. Signed-off-by: Daniel Lezcano --- src/lxc/conf.c | 2 +- src/lxc/confile.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.47.3