Revert the changes to multicast_net.
This commit is contained in:
parent
12f1c03eb2
commit
63d4d4b540
|
@ -209,7 +209,6 @@
|
|||
-A INPUT -s {{ s }} -m pkttype --pkt-type multicast -d {{ jgroups_mping_multicast_addr }} -j ACCEPT
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
-A INPUT -s {{ jgroups_multicast_addr }} -m pkttype --pkt-type multicast -d {{ jgroups_multicast_addr }} -j ACCEPT
|
||||
{% else %}
|
||||
-A INPUT -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 %}
|
||||
|
@ -225,12 +224,8 @@
|
|||
-A INPUT -m state --state NEW -p tcp -m tcp --dport {{ jgroups_multicast_port }} -j ACCEPT
|
||||
-A INPUT -p udp -m udp --dport {{ jgroups_multicast_port }} -j ACCEPT
|
||||
{% endif %}
|
||||
{% if jgroups_sources is defined %}
|
||||
{% for s in jgroups_sources %}
|
||||
-A INPUT -s {{ s }} -d {{ jgroups_multicast_net | default('224.0.0.1') }} -j ACCEPT
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
-A INPUT -d {{ jgroups_multicast_net | default('224.0.0.1') }} -j ACCEPT
|
||||
{% if jgroups_multicast_net is defined %}
|
||||
-A INPUT -d {{ jgroups_multicast_net }} -j ACCEPT
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue