[LON-CAPA-cvs] cvs: loncom /configuration Firewall.pm

raeburn raeburn at source.lon-capa.org
Tue Dec 21 11:42:15 EST 2021


raeburn		Tue Dec 21 16:42:15 2021 EDT

  Modified files:              
    /loncom/configuration	Firewall.pm 
  Log:
  - Typo
  
  
Index: loncom/configuration/Firewall.pm
diff -u loncom/configuration/Firewall.pm:1.24 loncom/configuration/Firewall.pm:1.25
--- loncom/configuration/Firewall.pm:1.24	Tue Dec 21 13:57:47 2021
+++ loncom/configuration/Firewall.pm	Tue Dec 21 16:42:15 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Firewall configuration to allow internal LON-CAPA communication between servers   
 #
-# $Id: Firewall.pm,v 1.24 2021/12/21 13:57:47 raeburn Exp $
+# $Id: Firewall.pm,v 1.25 2021/12/21 16:42:15 raeburn Exp $
 #
 # The LearningOnline Network with CAPA
 #
@@ -689,7 +689,7 @@
                         print("Unable to find iptables file containing static definitions.\n");
                     }
                 }
-                if ($distro =~ /^(fedora|rhes|centos|scientific|oracle|rocky|alma)(\d+){?:|\-stream)$/) {
+                if ($distro =~ /^(fedora|rhes|centos|scientific|oracle|rocky|alma)(\d+)(?:|\-stream)$/) {
                     unless ((($1 eq 'fedora') && ($2 > 15)) || (($1 ne 'fedora') && ($2 >= 7))) {
                         push(@fw_chains,'RH-Firewall-1-INPUT');
                     }




More information about the LON-CAPA-cvs mailing list