diff options
Diffstat (limited to 'pcap-dag.c')
| -rw-r--r-- | pcap-dag.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pcap-dag.c b/pcap-dag.c index b21c2e3c9fa8..5ce15dd50b84 100644 --- a/pcap-dag.c +++ b/pcap-dag.c @@ -1425,8 +1425,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 DAG cards"); + snprintf(errbuf, PCAP_ERRBUF_SIZE, PCAP_ENODEV_MESSAGE, "DAG"); return NULL; } @@ -1436,6 +1435,6 @@ pcapint_create_interface(const char *device, char *errbuf) const char * pcap_lib_version(void) { - return (PCAP_VERSION_STRING " (DAG-only)"); + return (PCAP_VERSION_STRING_WITH_ADDITIONAL_INFO("DAG-only")); } #endif |
