diff options
author | Gerald Combs <gerald@wireshark.org> | 2022-12-12 11:48:58 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2022-12-12 11:50:00 -0800 |
commit | 7d20bd0b101ca646e39d566386f87550d5f21612 (patch) | |
tree | 1102cd99b5d5ec45cd059cc60d2c2f52568138a4 /extcap.c | |
parent | 212b196beeada17959f7ed014cf48bed5bc73e44 (diff) |
Extcap: Clean up our fifo in non-blocking mode.
Use O_NONBLOCK when opening our fifo for cleanup.
Ping #18715
Diffstat (limited to 'extcap.c')
-rw-r--r-- | extcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1348,7 +1348,7 @@ gboolean extcap_session_stop(capture_session *cap_session) * here to let dumpcap return from the select() call. This has no * effect if dumpcap is not waiting. */ - int fd = ws_open(interface_opts->extcap_fifo, O_WRONLY, 0000); + int fd = ws_open(interface_opts->extcap_fifo, O_WRONLY|O_NONBLOCK, 0000); if (fd != -1) { close(fd); } |