From ba622db043db6fde9dbefbb6947d58462af099ba Mon Sep 17 00:00:00 2001 From: Nils Date: Fri, 31 Dec 2021 01:08:37 +0100 Subject: [PATCH] add full length handler for traceroute --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 6890154..bb89918 100644 --- a/main.go +++ b/main.go @@ -145,6 +145,7 @@ func main() { http.HandleFunc("/ping/", ping) http.HandleFunc("/mtr/", mtr) http.HandleFunc("/tracert/", traceroute) + http.HandleFunc("/traceroute/", traceroute) logstdout.Info("Serving on :", listenport) logfile.Info("Serving on :", listenport) http.ListenAndServe(fmt.Sprint(":", listenport), nil)