From beaabbc35b52c55b79633761345343342a149051 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Tue, 22 Mar 2016 13:35:04 -0700 Subject: [PATCH] ETHER: Add libpcap version information to the output of SHOW ETHERNET --- sim_ether.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sim_ether.c b/sim_ether.c index 2d7db4bc..54d0966e 100644 --- a/sim_ether.c +++ b/sim_ether.c @@ -675,8 +675,11 @@ void eth_zero(ETH_DEV* dev) dev->reflections = -1; /* not established yet */ } +static char* (*p_pcap_lib_version) (void); + static ETH_DEV **eth_open_devices = NULL; static int eth_open_device_count = 0; +static t_bool eth_show_active = FALSE; #if defined (USE_NETWORK) || defined (USE_SHARED) static void _eth_add_to_open_list (ETH_DEV* dev) @@ -702,8 +705,10 @@ for (i=0; i