diff options
author | Dario Lombardo <lomato@gmail.com> | 2017-01-31 17:30:02 +0100 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2017-02-02 17:45:32 +0000 |
commit | f6e88944c3f2cb8691b04a8195dc0d735fd3838f (patch) | |
tree | ce1ca682a63aba7c9dad2df9ba40a12d48bb36fc /sharkd_session.c | |
parent | 179e0fbc11fda7a2643097d4c67685953fdf5e2f (diff) |
sharkd: make it compile without libGeoIP.
Change-Id: Ief867ce8552136298bd6bd6879ec482cc5b38b6f
Reviewed-on: https://code.wireshark.org/review/19887
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jakub Zawadzki <darkjames-ws@darkjames.pl>
Diffstat (limited to 'sharkd_session.c')
-rw-r--r-- | sharkd_session.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sharkd_session.c b/sharkd_session.c index 2f5c0334fc..009e6d9755 100644 --- a/sharkd_session.c +++ b/sharkd_session.c @@ -708,7 +708,6 @@ sharkd_session_geoip_addr(address *addr, const char *suffix) } } } -#endif #ifdef HAVE_GEOIP_V6 if (addr->type == AT_IPv6) { @@ -765,7 +764,7 @@ sharkd_session_geoip_addr(address *addr, const char *suffix) } } #endif - +#endif return with_geoip; } |