diff options
Diffstat (limited to 'config/arping')
-rw-r--r-- | config/arping/arping.inc | 9 | ||||
-rw-r--r-- | config/arping/arping.xml | 9 |
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> |