FreeBSD changes

This commit is contained in:
Luca Deri 2020-12-31 19:54:08 +01:00
parent 9f1615f818
commit 249f8300a1
14 changed files with 142 additions and 3158 deletions

View file

@ -39,7 +39,11 @@ Geolocation::Geolocation() {
#ifndef WIN32
"/var/lib/GeoIP", // `geoipupdate` default install dir on Ubuntu 16,18 and Debian 10,9
"/usr/share/GeoIP", // `geoipupdate` default install dir on Ubuntu 14 and Centos 7,8
#if defined(__FreeBSD__)
"/usr/local/share/ntopng/httpdocs/geoip/", // ntopng-data default install dir
#else
"/usr/share/ntopng/httpdocs/geoip/", // ntopng-data default install dir
#endif
#endif
docs_path
};