mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-22 10:41:23 +02:00
Don't call setup_dbl() unconditionally
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
18ba5c7311
commit
2c3f121835
@ -1459,6 +1459,7 @@ show_command() {
|
|||||||
bl|blacklists)
|
bl|blacklists)
|
||||||
[ $# -gt 1 ] && too_many_arguments $2
|
[ $# -gt 1 ] && too_many_arguments $2
|
||||||
only_root
|
only_root
|
||||||
|
setup_dbl
|
||||||
eval show_blacklists $g_pager
|
eval show_blacklists $g_pager
|
||||||
;;
|
;;
|
||||||
opens)
|
opens)
|
||||||
|
@ -343,7 +343,7 @@ get_config() {
|
|||||||
|
|
||||||
if [ -n "$DYNAMIC_BLACKLIST" -a "$(id -u)" = 0 ]; then
|
if [ -n "$DYNAMIC_BLACKLIST" -a "$(id -u)" = 0 ]; then
|
||||||
case $COMMAND in
|
case $COMMAND in
|
||||||
reload|restart|start|blacklist|allow)
|
blacklist|allow|drop|logdrop|reject)
|
||||||
setup_dbl
|
setup_dbl
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user