diff options
author | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2015-07-23 17:59:59 +0200 |
---|---|---|
committer | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2015-07-23 17:59:59 +0200 |
commit | c6119c771d8fdc4f4794e03afd9a4f84b5cdbebe (patch) | |
tree | 6733adef9fe17a7c9a2e4dcaab559a0d886034f2 /index.php | |
parent | 6e9a4fb7765dda39656d1e95a743de1f79aab3b2 (diff) |
Rework hostname parameter check.
Rename FQDN to hostname which seems more appropriate.
Refactor match_fqdn / match_hostname function to use a more accurate way of
checking a potential hostname.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,8 +65,8 @@ final class LookingGlass { print('<option value="bgp" selected="selected">show route IP_ADDRESS</option>'); print('<option value="as-path-regex">show route as-path-regex AS_PATH_REGEX</option>'); print('<option value="as">show route AS</option>'); - print('<option value="ping">ping IP_ADDRESS|FQDN</option>'); - print('<option value="traceroute">traceroute IP_ADDRESS|FQDN</option>'); + print('<option value="ping">ping IP_ADDRESS|HOSTNAME</option>'); + print('<option value="traceroute">traceroute IP_ADDRESS|HOSTNAME</option>'); print('</select>'); print('</div>'); } |