diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | opentracker.c | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -20,13 +20,14 @@ LIBOWFAT_LIBRARY=$(PREFIX)/libowfat | |||
20 | BINDIR?=$(PREFIX)/bin | 20 | BINDIR?=$(PREFIX)/bin |
21 | 21 | ||
22 | #FEATURES+=-DWANT_V6 | 22 | #FEATURES+=-DWANT_V6 |
23 | #FEATURES+=-DWANT_BROKEN_OPENBSD_V6_API | ||
23 | 24 | ||
24 | #FEATURES+=-DWANT_ACCESSLIST_BLACK | 25 | #FEATURES+=-DWANT_ACCESSLIST_BLACK |
25 | #FEATURES+=-DWANT_ACCESSLIST_WHITE | 26 | #FEATURES+=-DWANT_ACCESSLIST_WHITE |
26 | 27 | ||
27 | #FEATURES+=-DWANT_SYNC_LIVE | 28 | #FEATURES+=-DWANT_SYNC_LIVE |
28 | #FEATURES+=-DWANT_SYNC_SCRAPE | 29 | #FEATURES+=-DWANT_SYNC_SCRAPE |
29 | #FEATURES+=-DWANT_IP_FROM_QUERY_STRING | 30 | FEATURES+=-DWANT_IP_FROM_QUERY_STRING |
30 | #FEATURES+=-DWANT_COMPRESSION_GZIP | 31 | #FEATURES+=-DWANT_COMPRESSION_GZIP |
31 | #FEATURES+=-DWANT_LOG_NETWORKS | 32 | #FEATURES+=-DWANT_LOG_NETWORKS |
32 | #FEATURES+=-DWANT_RESTRICT_STATS | 33 | #FEATURES+=-DWANT_RESTRICT_STATS |
diff --git a/opentracker.c b/opentracker.c index 6cca576..defc1f7 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -440,6 +440,9 @@ int main( int argc, char **argv ) { | |||
440 | #ifndef WANT_V6 | 440 | #ifndef WANT_V6 |
441 | serverip[10]=serverip[11]=0xff; | 441 | serverip[10]=serverip[11]=0xff; |
442 | #endif | 442 | #endif |
443 | #ifdef WANT_BROKEN_OPENBSD_V6_API | ||
444 | noipv6=1; | ||
445 | #endif | ||
443 | 446 | ||
444 | while( scanon ) { | 447 | while( scanon ) { |
445 | switch( getopt( argc, argv, ":i:p:A:P:d:r:s:f:v" | 448 | switch( getopt( argc, argv, ":i:p:A:P:d:r:s:f:v" |