Skip to content

Commit

Permalink
adding variable dnsname
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacchella committed Apr 23, 2015
1 parent 812b6ea commit 3bf5cd7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/jrds/Util.java
Expand Up @@ -379,6 +379,12 @@ String toString(Object o) {
return ((HostInfo) o).getName();
}
},
dnsname {
@Override
String toString(Object o) {
return ((HostInfo) o).getDnsName();
}
},
probename {
@Override
String toString(Object o) {
Expand Down Expand Up @@ -477,6 +483,7 @@ public static final String parseTemplate(String template, Object... arguments) {
}
if( o instanceof HostInfo) {
check(o, indexes, values, evaluate.host);
check(o, indexes, values, evaluate.dnsname);
}
if(o instanceof GraphDesc) {
check(o, indexes, values, evaluate.graphdesc_name);
Expand Down

0 comments on commit 3bf5cd7

Please sign in to comment.