summaryrefslogtreecommitdiff
path: root/source4/lib/netif/interface.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-28 11:23:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:18 -0500
commitd534e83c57feac9ebe115c565b5476d0f5160b7b (patch)
tree8ba000838863e750c383057ef9ac35fad77ddf69 /source4/lib/netif/interface.c
parent3761974ed8f93ada47355c20d2403aa966339d7c (diff)
downloadsamba-d534e83c57feac9ebe115c565b5476d0f5160b7b.tar.gz
samba-d534e83c57feac9ebe115c565b5476d0f5160b7b.tar.bz2
samba-d534e83c57feac9ebe115c565b5476d0f5160b7b.zip
r5052: minor formatting fix
(This used to be commit 4337901c1b38aaaf6cc09641ad51ff28e591b1f4)
Diffstat (limited to 'source4/lib/netif/interface.c')
-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