Add warning if listen_port changes

This commit is contained in:
matt335672
2024-11-28 15:55:37 +00:00
parent 44a83c8b38
commit 7fb1f4732b
+2
View File
@@ -58,6 +58,8 @@ sig_sesman_reload_cfg(void)
{
LOG(LOG_LEVEL_INFO, "sesman listen port changed to %s",
cfg->listen_port);
LOG(LOG_LEVEL_WARNING,
"Restarting sesman will now lose active sessions");
/* We have to delete the old port before listening to the new one
* in case they overlap in scope */