diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-12-30 20:06:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:49:05 -0500 |
commit | eef64ba0344f2a6ff95bbe09a213f9bc8751b020 (patch) | |
tree | 2b747e21d33408d5a6341fff2124681e5600d6d7 /source4/lib/netif | |
parent | 83acc688e3cb21d3fe25129f1fa1522872e6eec2 (diff) | |
download | samba-eef64ba0344f2a6ff95bbe09a213f9bc8751b020.tar.gz samba-eef64ba0344f2a6ff95bbe09a213f9bc8751b020.tar.bz2 samba-eef64ba0344f2a6ff95bbe09a213f9bc8751b020.zip |
r12616: remove unused function, and we have iface_local() as replacement
metze
(This used to be commit 032d0a19eed485a9f0a11818b5296625f9489b2a)
Diffstat (limited to 'source4/lib/netif')
-rw-r--r-- | source4/lib/netif/interface.c | 15 |
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) |