diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-05-16 12:18:33 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-05-16 12:18:33 -0700 |
commit | a8578d4f2fd5ea365f93846cf3da7f4151d7404d (patch) | |
tree | ea769d57ee750e35e982810d2bd0ba28bc4d03f2 /pcap-nit.c | |
parent | cbffeaeb5880d49be4fb4d66055787c6b7f4cc1d (diff) |
Allow a platform to add information to the version string.
For example, on Linux, we add information about memory-mapped capture
support; see comments on GitHub issue #600.
Diffstat (limited to 'pcap-nit.c')
-rw-r--r-- | pcap-nit.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -382,3 +382,12 @@ pcap_platform_finddevs(pcap_if_list_t *devlistp, char *errbuf) { return (pcap_findalldevs_interfaces(devlistp, errbuf, can_be_bound)); } + +/* + * No platform-specific information. + */ +const char * +pcap_platform_lib_version(void) +{ + return (NULL); +} |