From 4a9391492bf13f4ce86e23ff8a58f460425f01e6 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 30 Nov 2020 16:22:44 +0100 Subject: [PATCH] Fix some variables names. --- templates/iptables-rules.v4.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/iptables-rules.v4.j2 b/templates/iptables-rules.v4.j2 index ef588c3..2a344c2 100644 --- a/templates/iptables-rules.v4.j2 +++ b/templates/iptables-rules.v4.j2 @@ -261,12 +261,12 @@ {% endif %} {% endif %} {% endif %} -{% if hybernate_cluster_enabled %} +{% if jgroups_cluster_enabled %} # tomcat cluster --A INPUT -m pkttype --pkt-type multicast -d {{ hybernate__multicast_addr }} -j ACCEPT --A INPUT -m state --state NEW -p tcp -m tcp --dport {{ hybernate_multicast_port }} -j ACCEPT +-A INPUT -m pkttype --pkt-type multicast -d {{ jgroups_multicast_addr }} -j ACCEPT +-A INPUT -m state --state NEW -p tcp -m tcp --dport {{ jgroups_multicast_port }} -j ACCEPT {% if hybernate_multicast_net is defined %} --A INPUT -d {{ hybernate_multicast_net }} -j ACCEPT +-A INPUT -d {{ jgroups_multicast_net }} -j ACCEPT {% endif %} {% endif %} {% if orientdb_hazelcast_multicast_enabled is defined and orientdb_hazelcast_multicast_enabled %}