]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
braino, typo
authorwessels <>
Tue, 19 Jan 1999 23:35:13 +0000 (23:35 +0000)
committerwessels <>
Tue, 19 Jan 1999 23:35:13 +0000 (23:35 +0000)
src/asn.cc

index e114c1f349d67dd5e81b4f464f02b92dd9b06f66..26cfcbef9c58f137399cd0366985b3e689fb4d10 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: asn.cc,v 1.54 1999/01/11 16:50:27 wessels Exp $
+ * $Id: asn.cc,v 1.55 1999/01/19 16:35:13 wessels Exp $
  *
  * DEBUG: section 53    AS Number handling
  * AUTHOR: Duane Wessels, Kostas Anagnostakis
@@ -110,9 +110,9 @@ asnMatchIp(void *data, struct in_addr addr)
 
     if (AS_tree_head == NULL)
        return 0;
-    if (addr.s_addr != no_addr.s_addr)
+    if (addr.s_addr == no_addr.s_addr)
        return 0;
-    if (addr.s_addr != any_addr.s_addr)
+    if (addr.s_addr == any_addr.s_addr)
        return 0;
     store_m_int(lh, m_addr);
     rn = rn_match(m_addr, AS_tree_head);