X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnlist.c;h=ebb276e757d96c7be2aa73fbb17409ac9900e735;hp=b3bb3c46f38d2bf17e5b30ed4fee5e8f01acb64b;hb=d47d5932a3bbc4940aa6453ebfe617ef330783c8;hpb=9c2f805255fa36b05e8fe9391f639581d938b653 diff --git a/src/connlist.c b/src/connlist.c index b3bb3c46..ebb276e7 100644 --- a/src/connlist.c +++ b/src/connlist.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: connlist.c,v 1.1.2.8 2000/10/24 15:46:16 guus Exp $ + $Id: connlist.c,v 1.1.2.9 2000/10/28 16:41:37 guus Exp $ */ #include @@ -153,39 +153,6 @@ cp return p; } -conn_list_t *lookup_conn_list_mac(mac_t address) -{ - conn_list_t *p; -cp - for(p = conn_list; p != NULL; p = p->next) - if(lookup_subnet_mac(p->subnets, address)) - break; -cp - return p; -} - -conn_list_t *lookup_conn_list_ipv4(ipv4_t address) -{ - conn_list_t *p; -cp - for(p = conn_list; p != NULL; p = p->next) - if(lookup_subnet_ipv4(p->subnets, address)) - break; -cp - return p; -} - -conn_list_t *lookup_conn_list_ipv6(ipv6_t address) -{ - conn_list_t *p; -cp - for(p = conn_list; p != NULL; p = p->next) - if(lookup_subnet_ipv6(p->subnets, address)) - break; -cp - return p; -} - /* Debugging */ void dump_conn_list(void)