aboutsummaryrefslogtreecommitdiffstats
path: root/epan/geoip_db.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-10-06 06:53:07 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-10-06 06:53:07 +0000
commit3c551a7bce3b117edabd75a2c7e33ae2f70c5d8e (patch)
tree11554bcbb13af8940f0d3626a0acd356bec64172 /epan/geoip_db.c
parent7bba3ab20ae4737b92d98ce613b265e8609235ec (diff)
It seems like GEOIP_NETSPEED_EDITION_REV1_V6 was added to GeoIP 1.4.8.
svn path=/trunk/; revision=39291
Diffstat (limited to 'epan/geoip_db.c')
-rw-r--r--epan/geoip_db.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/geoip_db.c b/epan/geoip_db.c
index f7df2c905d..25f7a33573 100644
--- a/epan/geoip_db.c
+++ b/epan/geoip_db.c
@@ -72,8 +72,10 @@ value_string geoip_type_name_vals[] = {
{ GEOIP_ISP_EDITION_V6, "ISP" },
{ GEOIP_ORG_EDITION_V6, "Organization" },
{ GEOIP_DOMAIN_EDITION_V6, "Domain" },
+#endif /* NUM_DB_TYPES > 31 */
+#if NUM_DB_TYPES > 32 /* 1.4.8 */
{ GEOIP_NETSPEED_EDITION_REV1_V6, "Speed" },
-#endif /* NUM_DB_TYPES */
+#endif /* NUM_DB_TYPES > 32 */
#endif /* HAVE_GEOIP_V6 */
{ WS_LAT_FAKE_EDITION, "Latitude" }, /* fake database */
{ WS_LON_FAKE_EDITION, "Longitude" }, /* fake database */