Skip to content
Snippets Groups Projects
Commit c7e82db6 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

udp-handler: add missing return to a non-void function

parent 9a766892
No related branches found
No related tags found
No related merge requests found
Pipeline #63208 passed
......@@ -481,6 +481,7 @@ static int iface_udp_fd(const iface_t *iface, int thread_id, bool xdp_thread,
return iface->fd_xdp[xdp_wrk_id];
#else
assert(0);
return -1;
#endif
} else { // UDP thread.
if (iface->fd_udp_count == 0) { // No UDP interfaces.
......
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