Fix typo in lvs-masquerade.sh
A typo in the lvs-masquerade script prevented the deletion of the 'ip6-udp-masq' nftables chain when stopping a network interface. The name of the chain should be 'ip6-udp-masq' instead of 'ip-udp-masq' The bug had no impacts on the loadbalancers but it displayed an error message in the logs. Change-Id: Iba07010b63771aafa1db224dbd0e0c97925d6173 (cherry picked from commit 55e6001ea4db3e30dd3dec2b8b2bfb2d9b1ac103) (cherry picked from commit c014bb7b7e58c859bfef2dfb8c8187db9118d8f8) (cherry picked from commit 16578229f470cd807614f293bf06bce4340aea7d)
This commit is contained in:
parent
7d1df086ba
commit
b24f225536
@ -88,10 +88,10 @@ elif [ "$1" == "delete" ]; then
|
|||||||
nft flush chain ip octavia-ipv4 output
|
nft flush chain ip octavia-ipv4 output
|
||||||
nft delete chain ip octavia-ipv4 output
|
nft delete chain ip octavia-ipv4 output
|
||||||
elif [ "$2" == "ipv6" ]; then
|
elif [ "$2" == "ipv6" ]; then
|
||||||
nft flush chain ip6 octavia-ipv6 ip-udp-masq
|
nft flush chain ip6 octavia-ipv6 ip6-udp-masq
|
||||||
nft delete chain ip6 octavia-ipv6 ip-udp-masq
|
nft delete chain ip6 octavia-ipv6 ip6-udp-masq
|
||||||
nft flush chain ip6 octavia-ipv6 ip-sctp-masq
|
nft flush chain ip6 octavia-ipv6 ip6-sctp-masq
|
||||||
nft delete chain ip6 octavia-ipv6 ip-sctp-masq
|
nft delete chain ip6 octavia-ipv6 ip6-sctp-masq
|
||||||
nft flush chain ip6 octavia-ipv6 prerouting
|
nft flush chain ip6 octavia-ipv6 prerouting
|
||||||
nft delete chain ip6 octavia-ipv6 prerouting
|
nft delete chain ip6 octavia-ipv6 prerouting
|
||||||
nft flush chain ip6 octavia-ipv6 output
|
nft flush chain ip6 octavia-ipv6 output
|
||||||
|
Loading…
x
Reference in New Issue
Block a user