2013-02-25 Sancho Lerena <slerena@artica.es>

* PandoraFMS/Config.pm: Fixed parsing of mta_from, avoiding problems
        on blank spaces.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2013-02-25 15:29:40 +00:00
parent d40c9a0b01
commit d036aa2f22
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-02-25 Sancho Lerena <slerena@artica.es>
* PandoraFMS/Config.pm: Fixed parsing of mta_from, avoiding problems
on blank spaces.
2013-02-25 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Delay the backgrounding of the main process to

View File

@ -397,7 +397,7 @@ sub pandora_load_config {
$pa_config->{'mta_auth'}= clean_blank($1);
}
elsif ($parametro =~ m/^mta_from\s(.*)/i) {
$pa_config->{'mta_from'}= $1;
$pa_config->{'mta_from'}= clean_blank($1);
}
elsif ($parametro =~ m/^snmp_logfile\s(.*)/i) {
$pa_config->{'snmp_logfile'}= clean_blank($1);