r12616: remove unused function, and we have iface_local() as replacement
authorStefan Metzmacher <metze@samba.org>
Fri, 30 Dec 2005 20:06:41 +0000 (20:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:49:05 +0000 (13:49 -0500)
metze
(This used to be commit 032d0a19eed485a9f0a11818b5296625f9489b2a)

source4/lib/netif/interface.c

index ce94f482f5386d381fe2753581060485a94d052e..efb7ecce3332fb2d57fe66b70bc5d0101158e1ca 100644 (file)
@@ -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
   **************************************************************************/