admin-api: move from tcp/9001 to tcp/3959

This commit is contained in:
William Fleurant 2019-04-07 19:13:43 -04:00
parent ed4e21478f
commit fb92c0d1ca
5 changed files with 5 additions and 5 deletions

View file

@ -47,7 +47,7 @@ func main() {
fmt.Println(" - ", os.Args[0], "getPeers")
fmt.Println(" - ", os.Args[0], "-v getSelf")
fmt.Println(" - ", os.Args[0], "setTunTap name=auto mtu=1500 tap_mode=false")
fmt.Println(" - ", os.Args[0], "-endpoint=tcp://localhost:9001 getDHT")
fmt.Println(" - ", os.Args[0], "-endpoint=tcp://localhost:3959 getDHT")
fmt.Println(" - ", os.Args[0], "-endpoint=unix:///var/run/ygg.sock getDHT")
}
server := flag.String("endpoint", endpoint, "Admin socket endpoint")