[Netpass-devel] NetPass/lib/NetPass Config.pm,1.43,1.44
Brought to you by:
jeffmurphy
From: jeff m. <jef...@us...> - 2005-06-02 19:05:33
|
Update of /cvsroot/netpass/NetPass/lib/NetPass In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20933/lib/NetPass Modified Files: Config.pm Log Message: bug fixes, switch config, snort stuff Index: Config.pm =================================================================== RCS file: /cvsroot/netpass/NetPass/lib/NetPass/Config.pm,v retrieving revision 1.43 retrieving revision 1.44 diff -u -d -r1.43 -r1.44 --- Config.pm 2 Jun 2005 19:04:53 -0000 1.43 +++ Config.pm 2 Jun 2005 19:05:22 -0000 1.44 @@ -502,13 +502,13 @@ if (recur_exists($self->{'cfg'}, 'network', $nw, 'snort', 'mode')) { my $s = $self->{'cfg'}->obj('network')->obj($nw)->obj('snort')->value('mode'); - return $s if ($s =~ /^(enabled|disabled|not_really)$/); + return $s if ($s =~ /^(enabled|disabled|not_really)$/i); return 0; } if (recur_exists($self->{'cfg'}, 'snort', 'mode')) { my $s = $self->{'cfg'}->obj('snort')->value('mode'); - return $s if ($s =~ /^(enabled|disabled|not_really)$/); + return $s if ($s =~ /^(enabled|disabled|not_really)$/i); return 0; } |