From a8e93d29986b295f479a76c83cd01188e565963c Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 8 Feb 2017 13:31:01 -0800 Subject: [PATCH] ETHER: include threading vs polling in the eth_capabilities() information. --- sim_ether.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sim_ether.c b/sim_ether.c index a94396bd..49881e4e 100644 --- a/sim_ether.c +++ b/sim_ether.c @@ -969,7 +969,12 @@ static int _eth_get_system_id (char *buf, size_t buf_size) const char *eth_capabilities(void) { - return "Ethernet Packet transports" +#if defined (USE_READER_THREAD) + return "Threaded " +#else + return "Polled " +#endif + "Ethernet Packet transports" #if defined (HAVE_PCAP_NETWORK) ":PCAP" #endif