diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/socket/interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/socket/interface.c b/source4/lib/socket/interface.c index 7994716e83..27ac7151a3 100644 --- a/source4/lib/socket/interface.c +++ b/source4/lib/socket/interface.c @@ -87,7 +87,8 @@ static void add_interface(TALLOC_CTX *mem_ctx, const struct iface_struct *ifs, s return; } - if (!(ifs->flags & (IFF_BROADCAST|IFF_LOOPBACK))) { + if (ifs->ip.ss_family == AF_INET && + !(ifs->flags & (IFF_BROADCAST|IFF_LOOPBACK))) { DEBUG(3,("not adding non-broadcast interface %s\n", ifs->name )); return; |