summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2009-02-10 14:49:38 +0000
committererdgeist <>2009-02-10 14:49:38 +0000
commitff3c0feab522734fc601441c97509dcaa5199cd6 (patch)
tree9f2e06979152a6f5d4e67fec73980e3fcf46c120 /opentracker.c
parentf1ce4ea4994aa1488b51b6004546aafede72ed74 (diff)
Add workaround to openbsd's broken v6 API
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c3
1 files changed, 3 insertions, 0 deletions
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"