Skip to content

Commit

Permalink
fix Bug #5400
Browse files Browse the repository at this point in the history
interface=wan could be offline/disabled in multi-wan systems.
also, currently no code in diag_ping.php to convert 'wan' => source-ip
  • Loading branch information
heper committed Nov 10, 2015
1 parent 5e1cfe9 commit 7d67222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/local/www/diag_dns.php
Expand Up @@ -285,7 +285,7 @@ function display_host_results ($address, $hostname, $dns_speeds) {
<div class="panel-heading"><h2 class="panel-title">More information</h2></div>
<div class="panel-body">
<ul class="list-group">
<li class="list-group-item"><a href="/diag_ping.php?host=<?=htmlspecialchars($host)?>&amp;interface=wan&amp;count=3"><?=gettext("Ping")?></a></li>
<li class="list-group-item"><a href="/diag_ping.php?host=<?=htmlspecialchars($host)?>&amp;count=3"><?=gettext("Ping")?></a></li>
<li class="list-group-item"><a href="/diag_traceroute.php?host=<?=htmlspecialchars($host)?>&amp;ttl=18"><?=gettext("Traceroute")?></a></li>
</ul>
<p><?=gettext("NOTE: The following links are to external services, so their reliability cannot be guaranteed.");?></p>
Expand Down

0 comments on commit 7d67222

Please sign in to comment.