mirror of
https://github.com/samba-team/samba.git
synced 2025-11-12 04:23:49 +03:00
r12616: remove unused function, and we have iface_local() as replacement
metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
bf35c74218
commit
032d0a19ee
@@ -233,21 +233,6 @@ void unload_interfaces(void)
|
||||
local_interfaces = NULL;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
check if an IP is one of mine
|
||||
**************************************************************************/
|
||||
BOOL ismyip(struct ipv4_addr ip)
|
||||
{
|
||||
struct interface *i;
|
||||
|
||||
load_interfaces();
|
||||
|
||||
for (i=local_interfaces;i;i=i->next) {
|
||||
if (i->ip.addr == ip.addr) return True;
|
||||
}
|
||||
return False;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
how many interfaces do we have
|
||||
**************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user