diff options
Diffstat (limited to 'opentracker.c')
-rw-r--r-- | opentracker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opentracker.c b/opentracker.c index 212e277..a831b06 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -328,10 +328,10 @@ int parse_configfile( char * config_filename ) { | |||
328 | if( !scan_ip4_port( p+11, tmpip, &tmpport )) goto parse_error; | 328 | if( !scan_ip4_port( p+11, tmpip, &tmpport )) goto parse_error; |
329 | ot_try_bind( tmpip, tmpport, FLAG_UDP ); | 329 | ot_try_bind( tmpip, tmpport, FLAG_UDP ); |
330 | ++bound; | 330 | ++bound; |
331 | #ifdef WANT_ACCESSLIST_BLACK | 331 | #ifdef WANT_ACCESSLIST_WHITE |
332 | } else if(!byte_diff(p, 16, "access.whitelist" ) && isspace(p[16])) { | 332 | } else if(!byte_diff(p, 16, "access.whitelist" ) && isspace(p[16])) { |
333 | set_config_option( &g_accesslist_filename, p+17 ); | 333 | set_config_option( &g_accesslist_filename, p+17 ); |
334 | #elif defined( WANT_ACCESSLIST_WHITE ) | 334 | #elif defined( WANT_ACCESSLIST_BLACK ) |
335 | } else if(!byte_diff(p, 16, "access.blacklist" ) && isspace(p[16])) { | 335 | } else if(!byte_diff(p, 16, "access.blacklist" ) && isspace(p[16])) { |
336 | set_config_option( &g_accesslist_filename, p+17 ); | 336 | set_config_option( &g_accesslist_filename, p+17 ); |
337 | #endif | 337 | #endif |