proxy: add back ipv6 endpoints for compatibility with original project

This commit is contained in:
Lan Tian 2020-11-20 21:58:44 +08:00
parent 5cf2ac57b8
commit 26c51176e4
No known key found for this signature in database
GPG Key ID: 3D2E9DC81E5791C7

View File

@ -89,6 +89,8 @@ func main() {
// Start HTTP server
http.HandleFunc("/", invalidHandler)
http.HandleFunc("/bird", birdHandler)
http.HandleFunc("/bird6", birdHandler)
http.HandleFunc("/traceroute", tracerouteHandler)
http.HandleFunc("/traceroute6", tracerouteHandler)
http.ListenAndServe(*listenParam, handlers.LoggingHandler(os.Stdout, accessHandler(http.DefaultServeMux)))
}