Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ping, nmdcs: XML-Line does not return the redirect information #93

Open
Kcchouette opened this issue May 8, 2019 · 1 comment
Open
Milestone

Comments

@Kcchouette
Copy link
Contributor

Related to #89

 ./dcping ping dchub://piter.feardc.net:411
{"name":"White Nights of St. Petersburg","addr":["dchub://piter.feardc.net:411"],"soft":{"name":"Verlihub","vers":"1.2.0.7","ext":["NoHello","NoGetINFO","TLS","UserIP2","TTHSearch","ZPipe","HubINFO","BotList","MCTo","FailOver","HubTopic","OpPlus","NickRule","SearchRule","UserCommand"]},"users":0,"redirect":"nmdcs://piter.feardc.net:411"}
./dcping ping dchub://piter.feardc.net:411 --out=xml-line
<Hub Name="White Nights of St. Petersburg" Address="dchub://piter.feardc.net:411" Software="Verlihub" Status="Online"></Hub>

That I expect:

Solution 1:

./dcping ping dchub://piter.feardc.net:411 --out=xml-line
<Hub Name="White Nights of St. Petersburg" Address="nmdcs://piter.feardc.net:411" Failover="dchub://piter.feardc.net:411" Software="Verlihub" Status="Online"></Hub>

Solution 2:

./dcping ping dchub://piter.feardc.net:411 --out=xml-line
<Hub Name="White Nights of St. Petersburg" Failover="nmdcs://piter.feardc.net:411" Address="dchub://piter.feardc.net:411" Software="Verlihub" Status="Online"></Hub>

Solution 3:

./dcping ping dchub://piter.feardc.net:411 --out=xml-line
<Hub Name="White Nights of St. Petersburg" Redirect="nmdcs://piter.feardc.net:411" Address="dchub://piter.feardc.net:411" Software="Verlihub" Status="Online"></Hub>
@Kcchouette
Copy link
Contributor Author

The best solution for my case will be Solution 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants