summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/netif/interface.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source4/lib/netif/interface.c b/source4/lib/netif/interface.c
index ce94f482f5..efb7ecce33 100644
--- a/source4/lib/netif/interface.c
+++ b/source4/lib/netif/interface.c
@@ -234,21 +234,6 @@ void unload_interfaces(void)
}
/****************************************************************************
- 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
**************************************************************************/
int iface_count(void)