summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-08-19 17:30:30 -0700
committerJeremy Allison <jra@samba.org>2008-08-19 17:30:30 -0700
commitf23a6b7c93a419d70889f06b7b3ab18725399793 (patch)
tree32e368f9960e5d6b07a9127a8134fc1651b94a4a /source3/include
parent477e6bb40d83dc53829cd8bdbb15ca9759872ca5 (diff)
downloadsamba-f23a6b7c93a419d70889f06b7b3ab18725399793.tar.gz
samba-f23a6b7c93a419d70889f06b7b3ab18725399793.tar.bz2
samba-f23a6b7c93a419d70889f06b7b3ab18725399793.zip
Fix bug 5697 nmbd spins in reload_interfaces when only loopback has an IPv4 address
reported by Ted Percival <ted@midg3t.net>. Jeremy. (This used to be commit ab06efccf31fbc899536d2681a2076e6dfd65b9e)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index db1adb64ee..3d0d419022 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -623,7 +623,7 @@ bool is_local_net(const struct sockaddr_storage *from);
void setup_linklocal_scope_id(struct sockaddr_storage *pss);
bool is_local_net_v4(struct in_addr from);
int iface_count(void);
-int iface_count_v4(void);
+int iface_count_v4_nl(void);
const struct in_addr *first_ipv4_iface(void);
struct interface *get_interface(int n);
const struct sockaddr_storage *iface_n_sockaddr_storage(int n);