]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
document the handle-comments-in-geoip file
authorRoger Dingledine <arma@torproject.org>
Wed, 28 May 2008 21:10:46 +0000 (21:10 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 28 May 2008 21:10:46 +0000 (21:10 +0000)
svn:r14785

src/or/geoip.c

index 66814f5caed768d361175423c4fba3809792703f..9cd56b1d35ded581ae673b80e98ec021e1c04044 100644 (file)
@@ -131,6 +131,9 @@ _geoip_compare_key_to_entry(const void *_key, const void **_member)
  *   "INTIPLOW","INTIPHIGH","CC","CC3","COUNTRY NAME"
  * where INTIPLOW and INTIPHIGH are IPv4 addresses encoded as 4-byte unsigned
  * integers, and CC is a country code.
+ * 
+ * It also recognizes, and skips over, blank lines and lines that start
+ * with '#' (comments).
  */
 int
 geoip_load_file(const char *filename)