fix(api): update logging in evofw-firewall.sh to reflect default action
- Modified the logging statement in `evofw-firewall.sh` to include `default_action` instead of `mode`, ensuring accurate reporting of the applied action during firewall configuration. - This change enhances clarity in the logs, providing better insights into the firewall's operational state.
This commit is contained in:
@@ -247,5 +247,5 @@ case "$BACKEND" in
|
||||
esac
|
||||
|
||||
echo "$HASH" >"$HASH_FILE"
|
||||
log "applied mode=$MODE count=$APPLIED method=$KERNEL_METHOD"
|
||||
log "applied default_action=$DEFAULT_ACTION count=$APPLIED method=$KERNEL_METHOD"
|
||||
send_report
|
||||
|
||||
Reference in New Issue
Block a user