diff options
Diffstat (limited to 'opentracker.c')
-rw-r--r-- | opentracker.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opentracker.c b/opentracker.c index 3e72985..40ed78e 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -623,9 +623,6 @@ int main( int argc, char **argv ) { | |||
623 | ot_try_bind( serverip, 6969, FLAG_UDP ); | 623 | ot_try_bind( serverip, 6969, FLAG_UDP ); |
624 | } | 624 | } |
625 | 625 | ||
626 | if( !g_udp_workers ) | ||
627 | udp_init( -1, 0 ); | ||
628 | |||
629 | #ifdef WANT_SYSLOGS | 626 | #ifdef WANT_SYSLOGS |
630 | openlog( "opentracker", 0, LOG_USER ); | 627 | openlog( "opentracker", 0, LOG_USER ); |
631 | setlogmask(LOG_UPTO(LOG_INFO)); | 628 | setlogmask(LOG_UPTO(LOG_INFO)); |
@@ -654,6 +651,9 @@ int main( int argc, char **argv ) { | |||
654 | 651 | ||
655 | install_signal_handlers( ); | 652 | install_signal_handlers( ); |
656 | 653 | ||
654 | if( !g_udp_workers ) | ||
655 | udp_init( -1, 0 ); | ||
656 | |||
657 | /* Kick off our initial clock setting alarm */ | 657 | /* Kick off our initial clock setting alarm */ |
658 | alarm(5); | 658 | alarm(5); |
659 | 659 | ||