diff --git a/Makefile b/Makefile index d51a752..d737343 100644 --- a/Makefile +++ b/Makefile @@ -71,4 +71,4 @@ endif @sha256sum $(GOPATH)/bin/$(XBIN) run: - go run cmd/echoip/main.go -a data/asn.mmdb -c data/city.mmdb -f data/country.mmdb -H x-forwarded-for -r -s + go run cmd/echoip/main.go -a data/asn.mmdb -c data/city.mmdb -f data/country.mmdb -H x-forwarded-for -r -s -p diff --git a/html/index.html b/html/index.html index dc814ee..9557084 100644 --- a/html/index.html +++ b/html/index.html @@ -74,11 +74,11 @@
IP address | +IP address | {{ .IP }} |
---|---|---|
IP address (decimal) | +IP address (decimal) | {{ .IPDecimal }} |
Region code | +Region code | {{ .RegionCode }} |
Postal code | +Postal code | {{ .PostalCode }} |
User agent | +User agent | {{ .UserAgent.Product }}/{{ .UserAgent.Version }} |
User agent: Comment | +User agent: Comment | {{ .UserAgent.Comment }} |
User agent: Raw | +User agent: Raw | {{ .UserAgent.RawValue }} |