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 <[email protected]>
  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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to