Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2020 15:03:28 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363449 - head/libexec/rc
Message-ID:  <202007231503.06NF3S3R030708@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Thu Jul 23 15:03:28 2020
New Revision: 363449
URL: https://svnweb.freebsd.org/changeset/base/363449

Log:
  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

Modified:
  head/libexec/rc/rc.firewall

Modified: head/libexec/rc/rc.firewall
==============================================================================
--- head/libexec/rc/rc.firewall	Thu Jul 23 14:33:25 2020	(r363448)
+++ head/libexec/rc/rc.firewall	Thu Jul 23 15:03:28 2020	(r363449)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007231503.06NF3S3R030708>