proxy: add back ipv6 endpoints for compatibility with original project
This commit is contained in:
parent
5cf2ac57b8
commit
26c51176e4
@ -89,6 +89,8 @@ func main() {
|
|||||||
// Start HTTP server
|
// Start HTTP server
|
||||||
http.HandleFunc("/", invalidHandler)
|
http.HandleFunc("/", invalidHandler)
|
||||||
http.HandleFunc("/bird", birdHandler)
|
http.HandleFunc("/bird", birdHandler)
|
||||||
|
http.HandleFunc("/bird6", birdHandler)
|
||||||
http.HandleFunc("/traceroute", tracerouteHandler)
|
http.HandleFunc("/traceroute", tracerouteHandler)
|
||||||
|
http.HandleFunc("/traceroute6", tracerouteHandler)
|
||||||
http.ListenAndServe(*listenParam, handlers.LoggingHandler(os.Stdout, accessHandler(http.DefaultServeMux)))
|
http.ListenAndServe(*listenParam, handlers.LoggingHandler(os.Stdout, accessHandler(http.DefaultServeMux)))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user