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");
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