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-null.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-null.c')
-rw-r--r-- | pcap-null.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pcap-null.c b/pcap-null.c index de20f227..887e2180 100644 --- a/pcap-null.c +++ b/pcap-null.c @@ -50,3 +50,12 @@ pcap_platform_finddevs(pcap_if_list_t *devlistp, char *errbuf) */ return (0); } + +/* + * No platform-specific information. + */ +const char * +pcap_platform_lib_version(void) +{ + return (NULL); +} |