summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_traceroute.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-11-09 01:10:19 +0545
committerPhil Davis <phil.davis@inf.org>2015-11-09 01:10:19 +0545
commit0da0d43e3b0146ae9e563f3b69b0a5fd66135ebe (patch)
tree608d0d77075f7cea2138d325b078425c4e220540 /src/usr/local/www/diag_traceroute.php
parentd6b8120d1b3962efd4089c880f018bb736ad1a2d (diff)
downloadpfsense-0da0d43e3b0146ae9e563f3b69b0a5fd66135ebe.zip
pfsense-0da0d43e3b0146ae9e563f3b69b0a5fd66135ebe.tar.gz
Diag review
Diffstat (limited to 'src/usr/local/www/diag_traceroute.php')
-rw-r--r--src/usr/local/www/diag_traceroute.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/usr/local/www/diag_traceroute.php b/src/usr/local/www/diag_traceroute.php
index 8af45f8..e4c7ca6 100644
--- a/src/usr/local/www/diag_traceroute.php
+++ b/src/usr/local/www/diag_traceroute.php
@@ -3,14 +3,14 @@
diag_traceroute.php
*/
/* ====================================================================
- * Copyright (c) 2004-2015 Electric Sheep Fencing, LLC. All rights reserved.
+ * Copyright (c) 2004-2015 Electric Sheep Fencing, LLC. All rights reserved.
* Copyright (c) 2005 Paul Taylor (paultaylor@winndixie.com) and Manuel Kasper <mk@neon1.net>
*
* Some or all of this file is based on the m0n0wall project which is
* Copyright (c) 2004 Manuel Kasper (BSD 2 clause)
*
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
@@ -18,12 +18,12 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
- * distribution.
+ * distribution.
*
- * 3. All advertising materials mentioning features or use of this software
+ * 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgment:
* "This product includes software developed by the pfSense Project
- * for use in the pfSense software distribution. (http://www.pfsense.org/).
+ * for use in the pfSense software distribution. (http://www.pfsense.org/).
*
* 4. The names "pfSense" and "pfSense Project" must not be used to
* endorse or promote products derived from this software without
@@ -39,7 +39,7 @@
*
* "This product includes software developed by the pfSense Project
* for use in the pfSense software distribution (http://www.pfsense.org/).
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE pfSense PROJECT ``AS IS'' AND ANY
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
@@ -88,7 +88,7 @@ function create_sourceaddresslist() {
$sourceips = get_possible_traffic_source_addresses(true);
foreach ($sourceips as $sipvalue => $sipname)
- $list[$sipname[value]] = $sipname[name];
+ $list[$sipvalue] = $sipname;
return($list);
}
@@ -154,14 +154,14 @@ $section->addInput(new Form_Input(
$section->addInput(new Form_Select(
'ipproto',
'IP Protocol',
- $pconfig['protocol'],
+ $pconfig['ipproto'],
array('ipv4' => 'IPv4', 'ipv6' => 'IPv6')
))->setHelp('Select the protocol to use');
$section->addInput(new Form_Select(
'sourceip',
'Source Address',
- $pconfig['source'],
+ $pconfig['sourceip'],
create_sourceaddresslist()
))->setHelp('Select source address for the trace');
OpenPOWER on IntegriCloud