Skip to content

Commit

Permalink
ETHER: include threading vs polling in the eth_capabilities() informa…
Browse files Browse the repository at this point in the history
…tion.
  • Loading branch information
markpizz committed Feb 8, 2017
1 parent 760ce43 commit a8e93d2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sim_ether.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8e93d2

Please sign in to comment.