mirror of https://github.com/mpolden/echoip
add Mikrotik as Cli client
This commit is contained in:
parent
4ce6452332
commit
587ced59a8
|
@ -274,7 +274,7 @@ func NotFoundHandler(w http.ResponseWriter, r *http.Request) *appError {
|
|||
func cliMatcher(r *http.Request) bool {
|
||||
ua := useragent.Parse(r.UserAgent())
|
||||
switch ua.Product {
|
||||
case "curl", "HTTPie", "Wget", "fetch libfetch", "Go", "Go-http-client", "ddclient":
|
||||
case "curl", "HTTPie", "Wget", "fetch libfetch", "Go", "Go-http-client", "ddclient", "Mikrotik":
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue