Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
1ca64678
Commit
1ca64678
authored
14 years ago
by
Jo-Philipp Wich
Browse files
Options
Downloads
Patches
Plain Diff
firewall: fix rule generation for v4 or v6 only zones (#8955)
SVN-Revision: 25813
parent
a37fc00a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
package/firewall/Makefile
+2
-2
2 additions, 2 deletions
package/firewall/Makefile
package/firewall/files/lib/core_interface.sh
+3
-0
3 additions, 0 deletions
package/firewall/files/lib/core_interface.sh
with
5 additions
and
2 deletions
package/firewall/Makefile
+
2
−
2
View file @
1ca64678
#
#
# Copyright (C) 2008-201
0
OpenWrt.org
# Copyright (C) 2008-201
1
OpenWrt.org
#
#
# This is free software, licensed under the GNU General Public License v2.
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
# See /LICENSE for more information.
...
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
...
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME
:=
firewall
PKG_NAME
:=
firewall
PKG_VERSION
:=
2
PKG_VERSION
:=
2
PKG_RELEASE
:=
2
1
PKG_RELEASE
:=
2
2
include
$(INCLUDE_DIR)/package.mk
include
$(INCLUDE_DIR)/package.mk
...
...
This diff is collapsed.
Click to expand it.
package/firewall/files/lib/core_interface.sh
+
3
−
0
View file @
1ca64678
...
@@ -70,6 +70,9 @@ fw_configure_interface() {
...
@@ -70,6 +70,9 @@ fw_configure_interface() {
# Need v4 while zone is v6
# Need v4 while zone is v6
*
/
*
.
*
)
fw_log info
"zone
$zone
does not support IPv4 address family, skipping"
;
return
;;
*
/
*
.
*
)
fw_log info
"zone
$zone
does not support IPv4 address family, skipping"
;
return
;;
# Strip prefix
*
)
mode
=
"
${
mode
#G
}
"
;;
esac
esac
lock /var/run/firewall-interface.lock
lock /var/run/firewall-interface.lock
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment