Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
SuSEfirewall2
0001-fix-zonein-and-zoneout-parameters.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-fix-zonein-and-zoneout-parameters.diff of Package SuSEfirewall2
From 11df6481e0f46da1c95d37be1fa04897ae05859d Mon Sep 17 00:00:00 2001 From: Ludwig Nussel <ludwig.nussel@suse.de> Date: Thu, 7 Apr 2011 14:16:12 +0200 Subject: [PATCH] fix zonein and zoneout parameters --- SuSEfirewall2 | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SuSEfirewall2 b/SuSEfirewall2 index e9e68a1..26739ad 100755 --- a/SuSEfirewall2 +++ b/SuSEfirewall2 @@ -1204,7 +1204,7 @@ create_cond_chain() for iptables in "$IPTABLES" "$IP6TABLES"; do $iptables -N $chain for dev in $devs; do - $iptables -A $chain -j $target -i $dev + $iptables -A $chain -j $target -${dir:0:1} $dev done done eval ${chain}_created=1 @@ -2001,8 +2001,8 @@ forwarding_rules() fi if [ -z "$zoneout" -o "$zoneout" = "$zone" ]; then if [ -n "$zonein" ]; then - create_cond_chain "$target" "in" "$zonein" - jt=${target}_if_in_$zonein + create_cond_chain "$target" "out" "$zonein" + jt=${target}_if_out_$zonein else jt="$target" fi -- 1.7.3.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor