Add workaround to openbsd's broken v6 API

dynamic-accesslists
erdgeist 16 years ago
parent f1ce4ea499
commit ff3c0feab5

@ -20,13 +20,14 @@ LIBOWFAT_LIBRARY=$(PREFIX)/libowfat
BINDIR?=$(PREFIX)/bin
#FEATURES+=-DWANT_V6
#FEATURES+=-DWANT_BROKEN_OPENBSD_V6_API
#FEATURES+=-DWANT_ACCESSLIST_BLACK
#FEATURES+=-DWANT_ACCESSLIST_WHITE
#FEATURES+=-DWANT_SYNC_LIVE
#FEATURES+=-DWANT_SYNC_SCRAPE
#FEATURES+=-DWANT_IP_FROM_QUERY_STRING
FEATURES+=-DWANT_IP_FROM_QUERY_STRING
#FEATURES+=-DWANT_COMPRESSION_GZIP
#FEATURES+=-DWANT_LOG_NETWORKS
#FEATURES+=-DWANT_RESTRICT_STATS

@ -440,6 +440,9 @@ int main( int argc, char **argv ) {
#ifndef WANT_V6
serverip[10]=serverip[11]=0xff;
#endif
#ifdef WANT_BROKEN_OPENBSD_V6_API
noipv6=1;
#endif
while( scanon ) {
switch( getopt( argc, argv, ":i:p:A:P:d:r:s:f:v"

Loading…
Cancel
Save