ctdb-common: Use pcap_get_selectable_fd()
authorMartin Schwenke <martin@meltin.net>
Wed, 10 Aug 2022 23:00:25 +0000 (09:00 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 20 Sep 2022 10:43:37 +0000 (10:43 +0000)
commit075414dc05455a5cd33a244efd51be60fc294e95
treea267281f1b8a32eea5fad0a64f513c04afdf330f
parent40380a8042dfc2efa6f8f06ed7ac86c3c20a343f
ctdb-common: Use pcap_get_selectable_fd()

This is preferred because it will fail for devices that do not support
epoll_wait() and similar.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/common/system_socket.c