From d98f9bbbdef02e46428c6eb954ebc5513bbc5c1c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 7 Oct 1997 14:36:51 +0000 Subject: increase the debug level in the "added interface" debug line --- source/lib/interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/lib/interface.c') diff --git a/source/lib/interface.c b/source/lib/interface.c index 940af1eccf4..147425d0fc1 100644 --- a/source/lib/interface.c +++ b/source/lib/interface.c @@ -337,9 +337,9 @@ static void interpret_interfaces(char *s, struct interface **interfaces, iface->next = NULL; (*interfaces) = last_iface = iface; - DEBUG(1,("Added interface ip=%s ",inet_ntoa(iface->ip))); - DEBUG(1,("bcast=%s ",inet_ntoa(iface->bcast))); - DEBUG(1,("nmask=%s\n",inet_ntoa(iface->nmask))); + DEBUG(2,("Added interface ip=%s ",inet_ntoa(iface->ip))); + DEBUG(2,("bcast=%s ",inet_ntoa(iface->bcast))); + DEBUG(2,("nmask=%s\n",inet_ntoa(iface->nmask))); } -- cgit From 44d60de3f7a8ace19c1a1164d300b6533e6c2c99 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 15 Oct 1997 09:39:54 +0000 Subject: added the "freeze on logout" fixes to the 1.9.17 tree --- source/lib/interface.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/lib/interface.c') diff --git a/source/lib/interface.c b/source/lib/interface.c index 147425d0fc1..1dc605ff2fd 100644 --- a/source/lib/interface.c +++ b/source/lib/interface.c @@ -25,6 +25,7 @@ extern int DEBUGLEVEL; struct in_addr ipzero; struct in_addr wins_ip; +struct in_addr loopback_ip; static struct in_addr default_ip; static struct in_addr default_bcast; static struct in_addr default_nmask; @@ -262,6 +263,7 @@ static void interpret_interfaces(char *s, struct interface **interfaces, ipzero = *interpret_addr2("0.0.0.0"); wins_ip = *interpret_addr2("255.255.255.255"); + loopback_ip = *interpret_addr2("127.0.0.1"); while (next_token(&ptr,token,NULL)) { /* parse it into an IP address/netmasklength pair */ -- cgit