Skip to content
Snippets Groups Projects
Commit 14144ef7 authored by David Vasek's avatar David Vasek Committed by Daniel Salzman
Browse files

server: don't try to detect an XDP config change if there aren't any interfaces

fixes #770
parent 998f3faf
No related branches found
No related tags found
No related merge requests found
Pipeline #89777 passed
......@@ -957,7 +957,7 @@ static void warn_server_reconfigure(conf_t *conf, server_t *server)
warn_bg = false;
}
if (warn_listen && listen_changed(conf, server)) {
if (warn_listen && server->ifaces != NULL && listen_changed(conf, server)) {
log_warning(msg, "listen(-xdp)");
warn_listen = false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment