Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
Ubuntu 14.04, php 5.5.9, observium 0.14.12.6118
Description
When the geolocation function tries to use LOC records from DNS, it checks for degree_latitude and degree_longitude being set in the output, and it converts degrees minutes seconds to signed decimal degrees to set location_lat and location_lon. Because the output from the dns library is already converted to decimal degrees with a different name than is being checked for, the output isn't found. The attached patch uses the output of the library to set location_lat and location_lon.