ETHER: include threading vs polling in the eth_capabilities() information.
This commit is contained in:
parent
760ce434f6
commit
a8e93d2998
1 changed files with 6 additions and 1 deletions
|
@ -969,7 +969,12 @@ static int _eth_get_system_id (char *buf, size_t buf_size)
|
||||||
|
|
||||||
const char *eth_capabilities(void)
|
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)
|
#if defined (HAVE_PCAP_NETWORK)
|
||||||
":PCAP"
|
":PCAP"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue