]> The Tcpdump Group git mirrors - libpcap/commit
Don't explicitly check for root permission.
authorGuy Harris <[email protected]>
Sun, 10 Feb 2019 20:08:04 +0000 (12:08 -0800)
committerGuy Harris <[email protected]>
Sun, 10 Feb 2019 20:08:04 +0000 (12:08 -0800)
commitabeb357041f40ccf2dd715cab5e2860ceb851eb7
treea8aa1bf1dcabfcf28c49de8c87408c85aafadb50
parent901a9a3ee8c9e32545e930d43e2a2f5b3490cf49
Don't explicitly check for root permission.

Let DPDK tell us if we don't have sufficient permission to use it;
rte_eal_init() appears to return -1 and set rte_errno to EACCES in that
case, and we now handle that case ourselves.
pcap-dpdk.c