summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-06-08 04:33:37 +0000
committerAndrew Tridgell <tridge@samba.org>1996-06-08 04:33:37 +0000
commit4eba893b02334953b0f1bc082dcba6f930f9ff80 (patch)
treed6c7fbe5c5c657c34b7881384e1b9a1dc285e24d /source3/lib
parentd160d93d8fad563400aa1e1274437df1fbd4ecbf (diff)
downloadsamba-4eba893b02334953b0f1bc082dcba6f930f9ff80.tar.gz
samba-4eba893b02334953b0f1bc082dcba6f930f9ff80.tar.bz2
samba-4eba893b02334953b0f1bc082dcba6f930f9ff80.zip
- added comments to byteorder.h explaining how it works.
- fixed problem with installscripts if srcdir is not set - fixed ptr init bug in interface.c - changed default lookup type in nmblookup to match nbtstat under NT - new quotas fixes for sunos and solaris (This used to be commit e775576f026d282473256aeac6fef65a85acd98e)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/interface.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/interface.c b/source3/lib/interface.c
index f2a535d80c..e93db5e57e 100644
--- a/source3/lib/interface.c
+++ b/source3/lib/interface.c
@@ -25,6 +25,7 @@
extern int DEBUGLEVEL;
struct in_addr ipzero;
+struct in_addr ipgrp;
static struct in_addr default_ip;
static struct in_addr default_bcast;
static struct in_addr default_nmask;
@@ -266,6 +267,7 @@ void load_interfaces(void)
struct in_addr ip;
ipzero = *interpret_addr2("0.0.0.0");
+ ipgrp = *interpret_addr2("255.255.255.255");
while (next_token(&ptr,token,NULL)) {
/* parse it into an IP address/netmasklength pair */
@@ -315,6 +317,8 @@ void load_interfaces(void)
iface = (struct interface *)malloc(sizeof(*iface));
if (!iface) return;
+ iface->next = NULL;
+
if (got_ip) {
iface->ip = default_ip;
} else {