summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-10-14 17:17:07 +0200
committerVolker Lendecke <vl@sernet.de>2007-10-14 19:00:49 +0200
commitc9165b99e9d04a48cacd416c049c44e46ec5a365 (patch)
tree5abbde23da958ddf5aa1a874a619ef1b08d6367d
parent5b53d34626724cec232c23bbcae3a6a7cd3388ef (diff)
downloadsamba-c9165b99e9d04a48cacd416c049c44e46ec5a365.tar.gz
samba-c9165b99e9d04a48cacd416c049c44e46ec5a365.tar.bz2
samba-c9165b99e9d04a48cacd416c049c44e46ec5a365.zip
Fix one more place for IFF_LOOPBACK
(This used to be commit add1294562b76c38d5e471f280ca1167b4d8a93d)
-rw-r--r--source3/lib/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/interface.c b/source3/lib/interface.c
index 2eaadab0ec..ded70683e0 100644
--- a/source3/lib/interface.c
+++ b/source3/lib/interface.c
@@ -290,7 +290,7 @@ static void add_interface(const struct iface_struct *ifs)
return;
}
- if (!(ifs->flags & IFF_BROADCAST)) {
+ if (!(ifs->flags & (IFF_BROADCAST|IFF_LOOPBACK))) {
DEBUG(3,("not adding non-broadcast interface %s\n",
ifs->name ));
return;