Skip to content

Commit

Permalink
Changed getHref to return from info.getUrls
Browse files Browse the repository at this point in the history
  • Loading branch information
arwassa committed May 25, 2018
1 parent 9b12332 commit 367fc58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/sims/discovery/mdns/DnsService.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public DnsService(ServiceInfo info){

@Override
public String getHref(){
return info.getPropertyString("path");
return info.getURLs()[0];
}

@Override
Expand Down

0 comments on commit 367fc58

Please # to comment.