diff options
Diffstat (limited to 'pcap-dpdk.c')
| -rw-r--r-- | pcap-dpdk.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pcap-dpdk.c b/pcap-dpdk.c index 794fae393212..c78724e5f461 100644 --- a/pcap-dpdk.c +++ b/pcap-dpdk.c @@ -1068,8 +1068,7 @@ pcapint_platform_finddevs(pcap_if_list_t *devlistp _U_, char *errbuf) pcap_t * pcapint_create_interface(const char *device, char *errbuf) { - snprintf(errbuf, PCAP_ERRBUF_SIZE, - "This version of libpcap only supports DPDK"); + snprintf(errbuf, PCAP_ERRBUF_SIZE, PCAP_ENODEV_MESSAGE, "DPDK"); return NULL; } @@ -1079,6 +1078,6 @@ pcapint_create_interface(const char *device, char *errbuf) const char * pcap_lib_version(void) { - return (PCAP_VERSION_STRING " (DPDK-only)"); + return (PCAP_VERSION_STRING_WITH_ADDITIONAL_INFO("DPDK-only")); } #endif |
