Commit b3df193c by Daniel Lezcano

fix whitespace

Fix whitespace. Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 0cd0cf5c
......@@ -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) {
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment