Skip to content

Commit

Permalink
Added geoip function
Browse files Browse the repository at this point in the history
  • Loading branch information
rangertaha committed Sep 11, 2018
1 parent 28e0fe2 commit f849c09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions extra.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ var geoIPLookup = Extra{
Name: "GeoIP Lookup",
Description: "Looks up geopgraphic information via IP address",
Exec: geoIPLookupFunc,
Headers: []string{"GEO"},
Headers: []string{"IPv4", "IPv6", "GEO"},
}

var idnaLookup = Extra{
Expand Down Expand Up @@ -138,7 +138,7 @@ func init() {
FRegister("301", redirectLookup)

//FRegister("WHOIS", whoisLookup)
//FRegister("GEO", geoIPLookup)
FRegister("GEO", geoIPLookup)

FRegister("ALL",
mxLookup,
Expand All @@ -152,7 +152,7 @@ func init() {
redirectLookup,

//whoisLookup,
//geoIPLookup,
geoIPLookup,
)
}

Expand Down
2 changes: 1 addition & 1 deletion geolite2.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// GeoLite2-Country.mmdb
// DO NOT EDIT!

package main
package urlinsane

import (
"bytes"
Expand Down

0 comments on commit f849c09

Please sign in to comment.