Author: bombe
Date: 2006-06-06 12:35:28 +0000 (Tue, 06 Jun 2006)
New Revision: 9059

Modified:
   trunk/freenet/src/freenet/io/NetworkInterface.java
Log:
fix matching of "*"

Modified: trunk/freenet/src/freenet/io/NetworkInterface.java
===================================================================
--- trunk/freenet/src/freenet/io/NetworkInterface.java  2006-06-05 21:28:31 UTC 
(rev 9058)
+++ trunk/freenet/src/freenet/io/NetworkInterface.java  2006-06-06 12:35:28 UTC 
(rev 9059)
@@ -270,7 +270,7 @@
                                                        if (matcher != null) {
                                                                addressMatched 
= matcher.matches(clientAddress);
                                                        } else {
-                                                               addressMatched 
= "*".equals(clientHostName) || clientHostName.equalsIgnoreCase(host);
+                                                               addressMatched 
= "*".equals(host) || clientHostName.equalsIgnoreCase(host);
                                                        }
                                                }
                                        }


Reply via email to