Skip to content

Commit

Permalink
api: correctly handle clamd@squidclamav
Browse files Browse the repository at this point in the history
The service wasn't enabled and disabled after antivirus configuration
changes.
  • Loading branch information
gsanchietti committed Jun 11, 2019
1 parent c77de34 commit 155cf86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/filter/update
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ if ($cmd eq 'configuration') {
my $cdb = esmith::ConfigDB->open('contentfilter');
$db->set_prop('ufdb', 'status', $input->{'Filter'});
$db->set_prop('squidclamav', 'status', $input->{'AntiVirus'});
$db->set_prop('clamd@squidclamav', 'status', $input->{'AntiVirus'});
$db->set_prop('c-icap', 'status', $input->{'AntiVirus'});
$db->set_prop('squidguard','Expressions', $input->{'Expressions'});

Expand Down

0 comments on commit 155cf86

Please sign in to comment.