summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--opentracker.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 41b0d68..d8d559c 100644
--- a/Makefile
+++ b/Makefile
@@ -20,13 +20,14 @@ LIBOWFAT_LIBRARY=$(PREFIX)/libowfat
20BINDIR?=$(PREFIX)/bin 20BINDIR?=$(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 30FEATURES+=-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
444while( scanon ) { 447while( 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"