From c5e51011ab02527fb31c9bc3b0a13d0c1c1c7db9 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 2 Apr 2013 10:53:34 -0400 Subject: Rename "Interface" to "Source Address" on ping page to more accurately reflect what it's actually used for. --- usr/local/www/diag_ping.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/diag_ping.php b/usr/local/www/diag_ping.php index 8e1255c..a29208c 100755 --- a/usr/local/www/diag_ping.php +++ b/usr/local/www/diag_ping.php @@ -69,7 +69,7 @@ if ($_POST || $_REQUEST['host']) { if (!$input_errors) { $do_ping = true; - $interface = $_REQUEST['interface']; + $sourceip = $_REQUEST['sourceip']; $count = $_POST['count']; if (preg_match('/[^0-9]/', $count) ) $count = DEFAULT_COUNT; @@ -107,9 +107,9 @@ include("head.inc"); ?> - + - } foreach ($listenips as $lip): $selected = ""; - if (!link_interface_to_bridge($lip['value']) && ($lip['value'] == $interface)) + if (!link_interface_to_bridge($lip['value']) && ($lip['value'] == $sourceip)) $selected = 'selected="selected"'; ?>