summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/netif/interface.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/lib/netif/interface.c b/source4/lib/netif/interface.c
index 9075d4f3ac..4f22095f7a 100644
--- a/source4/lib/netif/interface.c
+++ b/source4/lib/netif/interface.c
@@ -187,10 +187,10 @@ void load_interfaces(void)
ptr = lp_interfaces();
mem_ctx = talloc_init("load_interfaces");
- if (!mem_ctx) {
- DEBUG(2,("no memory to load interfaces \n"));
+ if (!mem_ctx) {
+ DEBUG(2,("no memory to load interfaces \n"));
return;
- }
+ }
allones_ip = interpret_addr2("255.255.255.255");
loopback_ip = interpret_addr2("127.0.0.1");
@@ -330,7 +330,6 @@ struct ipv4_addr *iface_n_bcast(int n)
return NULL;
}
-
/* these 3 functions return the ip/bcast/nmask for the interface
most appropriate for the given ip address. If they can't find
an appropriate interface they return the requested field of the