aboutsummaryrefslogtreecommitdiffstats
path: root/config/arping
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2011-01-23 00:02:12 -0500
committerChris Buechler <cmb@pfsense.org>2011-01-23 00:02:12 -0500
commita5ddeba5f966f0634d884340a401a1c2c415231a (patch)
treef1a2c5b93ae3f2e13e303357125e8d471f8dd84f /config/arping
parent6ee81bdd7b1d9457b1b27748153c6e376b31c3c7 (diff)
downloadpfsense-packages-a5ddeba5f966f0634d884340a401a1c2c415231a.tar.gz
pfsense-packages-a5ddeba5f966f0634d884340a401a1c2c415231a.tar.bz2
pfsense-packages-a5ddeba5f966f0634d884340a401a1c2c415231a.zip
fix up arping package, no longer hoses theme, fix up text
Diffstat (limited to 'config/arping')
-rw-r--r--config/arping/arping.inc9
-rw-r--r--config/arping/arping.xml9
2 files changed, 6 insertions, 12 deletions
diff --git a/config/arping/arping.inc b/config/arping/arping.inc
index 193d031d..be21a790 100644
--- a/config/arping/arping.inc
+++ b/config/arping/arping.inc
@@ -35,16 +35,7 @@ function arping_package_reinstall() {
}
function arping_package_php_command() {
- $pgtitle = "Services: Arping";
- include("head.inc");
-
- echo "<body link=\"#0000CC\" vlink=\"#0000CC\" alink=\"#0000CC\">";
- include("fbegin.inc");
- echo "<p class=\"pgtitle\">{$pgtitle}</p>";
-
- echo "<pre>";
system("arping -c3 " . $_POST['hostip']);
- echo "</pre>";
exit;
}
diff --git a/config/arping/arping.xml b/config/arping/arping.xml
index 5372a6ce..01651e83 100644
--- a/config/arping/arping.xml
+++ b/config/arping/arping.xml
@@ -47,7 +47,10 @@
<faq>Currently there are no FAQ items provided.</faq>
<name>arping</name>
<version>2.6.0.2</version>
- <title>Services: arping</title>
+ <title>Services: ARPing</title>
+ <savetext>ARPing</savetext>
+ <preoutput>yes</preoutput>
+ <donotsave>true</donotsave>
<include_file>/usr/local/pkg/arping.inc</include_file>
<menu>
<name>Arping</name>
@@ -69,9 +72,9 @@
</additional_files_needed>
<fields>
<field>
- <fielddescr>Host IP or Mac</fielddescr>
+ <fielddescr>Host IP or MAC</fielddescr>
<fieldname>hostip</fieldname>
- <description>Select all WAN type interfaces</description>
+ <description>Enter the host IP or MAC address to ARP ping</description>
<type>input</type>
</field>
</fields>