Permalink
Browse files

Add a note that IsLoopbackAddress does not handle all loopback addresses

  • Loading branch information...
1 parent ee3cc82 commit d24a944fe64f80c5ed1c9ee684f195a1dea75b7b @dottedmag dottedmag committed Apr 16, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/addr_lib.c
View
@@ -345,7 +345,10 @@ int FuzzyHostMatch(char *arg0, char *arg1, char *refhost)
return 0;
}
-/*********************************************************************/
+/* FIXME: handle 127.0.0.2, 127.255.255.254, ::1,
+ * 0000:0000:0000:0000:0000:0000:0000:0001, 0:00:000:0000:000:00:0:1, 0::1 and
+ * other variants
+ */
bool IsLoopbackAddress(const char *address)
{

0 comments on commit d24a944

Please sign in to comment.