diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2016-04-22 07:05:47 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-04-22 09:43:50 +0200 |
commit | 6b7f7cc3ff9590caa858808fb47f0a82ad17f8fc (patch) | |
tree | fa0b8421d955cf6bee1fe6801a291ec6aa0c9380 /trafgen | |
parent | bb9eb3eaa03eecbf169489d3be83ddccf7b77815 (diff) |
flowtop: Fix compilation error when build without geoip
Commit f61f39d ("geoip: Allow to get country 3-code") added
new helpers without considering HAVE_GEOIP definition.
Fixed by adding dummy functions for get 3-code country name
in case if HAVE_GEOIP is not defined.
Tested only by manualy disabling HAVE_GEOIP in config.h
and geoip.c compilation in Config file.
Fixes: f61f39d (geoip: Allow to get country 3-code)
Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen')
0 files changed, 0 insertions, 0 deletions