This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via e7204c2d95f34802c2719cce613e4c7aafabb687 (commit) from 6de2306a6a7f8836c5d5ea7f1541a2cf68a09377 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit e7204c2d95f34802c2719cce613e4c7aafabb687 Author: Michael Tremer michael.tremer@ipfire.org Date: Thu Aug 21 16:12:43 2014 +0200
firewall: Fix initialization when RED has not been brought up yet
-----------------------------------------------------------------------
Summary of changes: src/initscripts/init.d/firewall | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Difference in files: diff --git a/src/initscripts/init.d/firewall b/src/initscripts/init.d/firewall index 0d80e7c..c7f8b67 100644 --- a/src/initscripts/init.d/firewall +++ b/src/initscripts/init.d/firewall @@ -369,8 +369,10 @@ iptables_red_down() { # while the wan interface is down - this is required to # circumvent udp related NAT issues # http://forum.ipfire.org/index.php?topic=11127.0 - iptables -F REDFORWARD - iptables -A REDFORWARD -o $IFACE -j DROP + if [ -n "${IFACE}" ]; then + iptables -F REDFORWARD + iptables -A REDFORWARD -o "${IFACE}" -j DROP + fi
# Reload all rules. /usr/local/bin/firewallctrl
hooks/post-receive -- IPFire 2.x development tree