add full length handler for traceroute

This commit is contained in:
Nils 2021-12-31 01:08:37 +01:00
parent 8bdf07eff7
commit ba622db043
Signed by: byreqz
GPG Key ID: 396A62D7D436749E

View File

@ -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)