Skip the initial ssdp:alive packets when initially registering our network

interfaces during startup, so the byebye's can come first.
This commit is contained in:
Justin Maggard
2013-10-22 18:50:09 -07:00
parent 2e68335430
commit c96e6e2adb
3 changed files with 14 additions and 12 deletions

View File

@ -169,7 +169,7 @@ sighup(int sig)
signal(sig, sighup);
DPRINTF(E_WARN, L_GENERAL, "received signal %d, re-read\n", sig);
reload_ifaces();
reload_ifaces(1);
}
/* record the startup time */
@ -904,7 +904,7 @@ init(int argc, char **argv)
}
set_startup_time();
reload_ifaces();
reload_ifaces(0);
/* presentation url */
if (presurl)