diff options
-rw-r--r-- | source3/lib/interfaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/interfaces.c b/source3/lib/interfaces.c index e98ea46282..20d91439f5 100644 --- a/source3/lib/interfaces.c +++ b/source3/lib/interfaces.c @@ -136,7 +136,7 @@ static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) memcpy(&ifaces[total].ip, ifptr->ifa_addr, copy_size); memcpy(&ifaces[total].netmask, ifptr->ifa_netmask, copy_size); - if ((ifaces[total].flags & IFF_BROADCAST) && + if ((ifaces[total].flags & (IFF_BROADCAST|IFF_LOOPBACK)) && ifptr->ifa_broadaddr) { memcpy(&ifaces[total].bcast, ifptr->ifa_broadaddr, |