X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnetutl.c;h=c75bea277c4888979068dbffe6b1dc97dd5f6d8f;hp=a61c917308c967b8041d0de26136a72034893822;hb=77be52422d8c28735f787b1c233b4cec73d4db56;hpb=8cb4bb619d777022a55255c5fa17a1a55a270ff3 diff --git a/src/netutl.c b/src/netutl.c index a61c9173..c75bea27 100644 --- a/src/netutl.c +++ b/src/netutl.c @@ -16,7 +16,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: netutl.c,v 1.11 2000/05/30 11:18:12 zarq Exp $ + $Id: netutl.c,v 1.12 2000/05/31 18:23:06 zarq Exp $ */ #include "config.h" @@ -51,7 +51,7 @@ conn_list_t *lookup_conn(ip_t ip) cp /* Exact match suggested by James B. MacLean */ for(p = conn_list; p != NULL; p = p->next) - if((ip == p->vpn_ip) && p->status.active) + if((ip == p->vpn_ip) && p->status.active) return p; for(p = conn_list; p != NULL; p = p->next) if(((ip & p->vpn_mask) == (p->vpn_ip & p->vpn_mask)) && p->status.active)