X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnetutl.c;h=cc8266d712d51c394b8d8c5c36c5c7609d8b490e;hp=df6401fe89678e77c0924cede6ab087feebe9793;hb=ee96ccabbbf0180d5631d3c22838456f28ee9c15;hpb=8caa1b9d750bb7467d1c3330780b05ac2bbf9883 diff --git a/src/netutl.c b/src/netutl.c index df6401fe..cc8266d7 100644 --- a/src/netutl.c +++ b/src/netutl.c @@ -1,6 +1,6 @@ /* netutl.c -- some supporting network utility code - Copyright (C) 1998,99 Ivo Timmermans + Copyright (C) 1998,1999,2000 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -42,7 +42,7 @@ conn_list_t *lookup_conn(ip_t ip) { conn_list_t *p = conn_list; - +cp /* Exact match suggested by James B. MacLean */ for(p = conn_list; p != NULL; p = p->next) if(ip == p->vpn_ip)