aboutsummaryrefslogtreecommitdiffstats
path: root/epan/maxmind_db.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2018-03-10 09:18:03 -0800
committerGerald Combs <gerald@wireshark.org>2018-03-10 19:21:42 +0000
commit6a819d9950e41244b742073f0962e2c5a80eb735 (patch)
treed2e4c12c68b61f0dfcd13f4c788a4f6898226c8c /epan/maxmind_db.h
parent5564c222e27740166ec36f0cc1e858bcb429f68c (diff)
MaxMindDB: Add country ISO codes.
Add and dissect country ISO codes. Prefer them when printing summary information. Change-Id: I3ce2bde88fa5ca2604c8bb745c42f239660252ff Reviewed-on: https://code.wireshark.org/review/26415 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/maxmind_db.h')
-rw-r--r--epan/maxmind_db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/maxmind_db.h b/epan/maxmind_db.h
index 1b8e5fed0a..1c3ade02bc 100644
--- a/epan/maxmind_db.h
+++ b/epan/maxmind_db.h
@@ -24,6 +24,7 @@ extern "C" {
typedef struct _mmdb_lookup_t {
gboolean found;
const char *country;
+ const char *country_iso;
const char *city;
unsigned int as_number;
const char *as_org;