mirror of
https://github.com/PDP-10/klh10.git
synced 2026-02-09 01:31:33 +00:00
Remove bridge creating code for Linux, since it's useless.
If $KLH_NET_BRIDGE is set, does bridge it to that bridge. Use $KLH_NET_DEFAULT_IF as default interface, if given.
This commit is contained in:
@@ -265,8 +265,13 @@
|
||||
|
||||
#define HAVE_GETIFADDRS 1 /* assume this for now */
|
||||
#define HAVE_LIBPCAP 1 /* assume this for now */
|
||||
#define HAVE_LIBPCAP_SET_IMMEDIATE_MODE 1
|
||||
|
||||
#if HAVE_LIBPCAP
|
||||
# undef BPF_MAJOR_VERSION /* some stupid linux header defines this:
|
||||
* <linux_filter.h> included from
|
||||
* <linux/if_tun,h>; only in SOME versions.
|
||||
*/
|
||||
# define USE_LIBPCAP 1
|
||||
# include <pcap/pcap.h>
|
||||
# include <pcap/bpf.h>
|
||||
|
||||
Reference in New Issue
Block a user