Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
SuSEfirewall2
SuSEfirewall2-icmpv6.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File SuSEfirewall2-icmpv6.diff of Package SuSEfirewall2
From a444f8d4613cee951d09c86b2df7f21b9f042658 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel <ludwig.nussel@suse.de> Date: Mon, 18 Jun 2012 11:30:35 +0200 Subject: [PATCH 2/3] allow icmpv6 in FW_SERVICES_*_* --- SuSEfirewall2 | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/SuSEfirewall2 b/SuSEfirewall2 index 1c0fee2..c59a1cf 100755 --- a/SuSEfirewall2 +++ b/SuSEfirewall2 @@ -527,7 +527,23 @@ check_proto_port() sport='' rsport='' fi - ;; + ;; + icmpv6) + if [ -n "$port" ]; then + port="--icmpv6-type $port" + rport="$port" + else + port='' + rport='' + fi + if [ -n "$sport" ]; then + sport="--icmpv6-type $sport" + rsport="$sport" + else + sport='' + rsport='' + fi + ;; *) if [ -n "$port" ]; then error "port is only valid with tcp, udp or icmp in ${var}" -- 1.7.7
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