Don't call setup_dbl() unconditionally

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2018-01-02 13:11:31 -08:00
parent 18ba5c7311
commit 2c3f121835
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10
2 changed files with 2 additions and 1 deletions

View File

@ -1459,6 +1459,7 @@ show_command() {
bl|blacklists)
[ $# -gt 1 ] && too_many_arguments $2
only_root
setup_dbl
eval show_blacklists $g_pager
;;
opens)

View File

@ -343,7 +343,7 @@ get_config() {
if [ -n "$DYNAMIC_BLACKLIST" -a "$(id -u)" = 0 ]; then
case $COMMAND in
reload|restart|start|blacklist|allow)
blacklist|allow|drop|logdrop|reject)
setup_dbl
;;
esac