mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
parent
3761974ed8
commit
d534e83c57
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user