diff --git a/src/main.c b/src/main.c index 178b72c8..7be04418 100644 --- a/src/main.c +++ b/src/main.c @@ -589,7 +589,9 @@ int main(int argc, char *argv[]) { config.reload = 1; /* force a reload on start */ while(!config.stop) { +#ifdef UPNP upnp_tick(); /* run the upnp loop */ +#endif if((conf_get_int("general","rescan_interval",0) && (rescan_counter > conf_get_int("general","rescan_interval",0)))) {