ctdb-build: Add --enable-pcap configure option
authorMartin Schwenke <martin@meltin.net>
Mon, 8 Aug 2022 01:26:54 +0000 (11:26 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 20 Sep 2022 10:43:37 +0000 (10:43 +0000)
commitd1543d5c7889f3ac42f80fc5d1eddf54f9c5d0d6
treef77f494ca1bcbd7888463753e58324d92e27caca
parenta83e9ca696a37b00231ce40cca5a043beb9b5590
ctdb-build: Add --enable-pcap configure option

This forces the use pcap for packet capture on Linux.

It appears that using a raw socket for capture does not work with
infiniband - pcap support for that to come.

Don't (yet?) change the default capture method to pcap.  On some
platforms (e.g. my personal Intel NUC, running Debian testing), pcap
is much less reliable than the raw socket.  However, pcap seems fine
on most other platforms.

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