]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - html/cgi-bin/ids.cgi
ids.cgi: Always write config files for enabled/disabled rule files
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 12 Dec 2017 19:16:26 +0000 (20:16 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 26 Jul 2018 09:45:02 +0000 (11:45 +0200)
commit376595057ba05eea8d9c6337d390374dec7749e0
tree9ca725d253b6e5f81e3154808f13c1024e6b8dbe
parent466c67794b207f327a4b7478ce6f2c9c194df45f
ids.cgi: Always write config files for enabled/disabled rule files

If a single sid has been activated and then disabled without doing
any other ruleset modifications only one of the oinkmaster files
for enabled / disabled rules has been modified.

In this case it was possible, that the same sid, was part of the
file for enabled rules and part of the file for disabled rules at the
same time.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi