* include/functions_snmp.php: Improved the security
on the function "snmp_generate_trap" by escaping the
command arguments.
* include/functions_snmp_browser.php: Improved the
Windows compatibility of some commands.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_snmp.php: changed the PHP function to execute
command and now get the error string or return true if it runs fine.
* godmode/snmpconsole/snmp_trap_generator.php: show the error when
fail to call snmptrap, and show error when occurs.
Fixes: #2270
MERGED FROM THE BRANCH PANDORA_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f