summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorGuillaume Mazoyer <gmazoyer@gravitons.in>2015-07-23 17:59:59 +0200
committerGuillaume Mazoyer <gmazoyer@gravitons.in>2015-07-23 17:59:59 +0200
commitc6119c771d8fdc4f4794e03afd9a4f84b5cdbebe (patch)
tree6733adef9fe17a7c9a2e4dcaab559a0d886034f2 /index.php
parent6e9a4fb7765dda39656d1e95a743de1f79aab3b2 (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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 30cae37..3c13478 100644
--- a/index.php
+++ b/index.php
@@ -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>');
}