aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2020-07-23 15:03:28 +0000
committerMark Johnston <markj@FreeBSD.org>2020-07-23 15:03:28 +0000
commit7df88b9ddd2e7db27ab71d38db8d0d6b4ad31e51 (patch)
treed662c6fa0cef57cb2a5cca985830269f769cb16a
parent81614d236f6817d4ceb587c70fa4eb4318588431 (diff)
downloadsrc-7df88b9ddd2e7db27ab71d38db8d0d6b4ad31e51.tar.gz
src-7df88b9ddd2e7db27ab71d38db8d0d6b4ad31e51.zip
rc.firewall: Merge two identical conditions into one.
No functional change intended. PR: 247949 Submitted by: Jose Luis Duran <jlduran@gmail.com> MFC after: 1 week
Notes
Notes: svn path=/head/; revision=363449
-rw-r--r--libexec/rc/rc.firewall3
1 files changed, 0 insertions, 3 deletions
diff --git a/libexec/rc/rc.firewall b/libexec/rc/rc.firewall
index 8389d76c5cc6..ee08a3252566 100644
--- a/libexec/rc/rc.firewall
+++ b/libexec/rc/rc.firewall
@@ -222,9 +222,6 @@ case ${firewall_type} in
if [ -n "$net6" ]; then
${fwcmd} add pass all from me to ${net6}
${fwcmd} add pass all from ${net6} to me
- fi
-
- if [ -n "$net6" ]; then
# Allow any link-local multicast traffic
${fwcmd} add pass all from fe80::/10 to ff02::/16
${fwcmd} add pass all from ${net6} to ff02::/16