Add a different list for the multicast sources.

This commit is contained in:
Andrea Dell'Amico 2022-12-29 19:06:24 +01:00
parent 63d4d4b540
commit 25c9001944
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 2 deletions

View File

@ -202,8 +202,8 @@
{% if jgroups_cluster_enabled %}
# infinispan/jgroups
{% if jgroups_sources is defined %}
{% for s in jgroups_sources %}
{% if jgroups_multicast_sources is defined %}
{% for s in jgroups_multicast_sources %}
-A INPUT -s {{ s }} -m pkttype --pkt-type multicast -d {{ jgroups_multicast_addr }} -j ACCEPT
{% if jgroups_mping_multicast_addr is defined and jgroups_mping_multicast_addr != jgroups_multicast_addr %}
-A INPUT -s {{ s }} -m pkttype --pkt-type multicast -d {{ jgroups_mping_multicast_addr }} -j ACCEPT