diff options
author | Samba Release Account <samba-bugs@samba.org> | 1996-08-09 18:05:34 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1996-08-09 18:05:34 +0000 |
commit | 2b9475cc5fda4b272f19c4f168d3f00363c8042b (patch) | |
tree | ba4f27c6d20f620cd819a04ad172081c5e6f2ce6 /source/lib/interface.c | |
parent | 6567bac5d13f32729fe51eba1e904268c6ee00be (diff) | |
download | samba-2b9475cc5fda4b272f19c4f168d3f00363c8042b.tar.gz |
applying login updates from jim@oxfordcc.co.uk, sent in by
lewis2@server.uwindsor.ca. rest of this patch to follow.
bug in interface.c - uninitialised pointer.
nmbd has 0x20 as well as 0x0 NetBIOS name when lmhosts entry is added.
lkcl
Diffstat (limited to 'source/lib/interface.c')
-rw-r--r-- | source/lib/interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/lib/interface.c b/source/lib/interface.c index 3a532140b39..061ac08c7b4 100644 --- a/source/lib/interface.c +++ b/source/lib/interface.c @@ -334,6 +334,7 @@ static void interpret_interfaces(char *s, struct interface **interfaces, DEBUG(2,("Warning: inconsistant interface %s\n",inet_ntoa(iface->ip))); } + iface->next = NULL; (*interfaces) = last_iface = iface; DEBUG(1,("Added interface ip=%s ",inet_ntoa(iface->ip))); |