]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commit
optionsfw.cgi: Add default settings for newly added options.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 5 Mar 2022 18:13:39 +0000 (19:13 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Mar 2022 11:30:18 +0000 (11:30 +0000)
commite895c2de72a79feda5a653bf4fd569c36c2d94da
treee4384ee165fb5ff23ec0a1b1d78306309bcf2e02
parentde686e49e2a7c12c4b3c46931ecd9d9635565357
optionsfw.cgi: Add default settings for newly added options.

If no settings for those features can be obtained from the settings
file, set them to the following defaults.

* DROPSPOOFEDMARTIAN -> on (yes)
* DROPHOSTILE -> off (no - because only fresh installed systems should
                     do this)
* LOGDROPCTINVALID -> on (yes)

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/optionsfw.cgi