diff options
Diffstat (limited to 'pcap-snf.c')
| -rw-r--r-- | pcap-snf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pcap-snf.c b/pcap-snf.c index 272f7df6c097..d08275ac8a07 100644 --- a/pcap-snf.c +++ b/pcap-snf.c @@ -599,8 +599,7 @@ pcapint_platform_finddevs(pcap_if_list_t *devlistp, char *errbuf) pcap_t * pcapint_create_interface(const char *device, char *errbuf) { - snprintf(errbuf, PCAP_ERRBUF_SIZE, - "This version of libpcap only supports SNF cards"); + snprintf(errbuf, PCAP_ERRBUF_SIZE, PCAP_ENODEV_MESSAGE, "SNF"); return NULL; } @@ -610,6 +609,6 @@ pcapint_create_interface(const char *device, char *errbuf) const char * pcap_lib_version(void) { - return (PCAP_VERSION_STRING " (SNF-only)"); + return (PCAP_VERSION_STRING_WITH_ADDITIONAL_INFO("SNF-only")); } #endif |
