svn commit: r363449 - head/libexec/rc

Mark Johnston markj at FreeBSD.org
Thu Jul 23 15:03:29 UTC 2020


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 at 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


More information about the svn-src-all mailing list