svn commit: samba r12616 - in branches/SAMBA_4_0/source/lib/netif: .

metze at samba.org metze at samba.org
Fri Dec 30 20:06:41 GMT 2005


Author: metze
Date: 2005-12-30 20:06:41 +0000 (Fri, 30 Dec 2005)
New Revision: 12616

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12616

Log:
remove unused function, and we have iface_local() as replacement

metze
Modified:
   branches/SAMBA_4_0/source/lib/netif/interface.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/netif/interface.c
===================================================================
--- branches/SAMBA_4_0/source/lib/netif/interface.c	2005-12-30 19:18:51 UTC (rev 12615)
+++ branches/SAMBA_4_0/source/lib/netif/interface.c	2005-12-30 20:06:41 UTC (rev 12616)
@@ -234,21 +234,6 @@
 }
 
 /****************************************************************************
-  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)



More information about the samba-cvs mailing list