Skip to content

Commit

Permalink
Merge pull request #1960 from oalbrigt/IPaddr2-dont-fail-with-lvs_ipv…
Browse files Browse the repository at this point in the history
…6_addrlabel-error-IPv4

IPaddr2: dont fail with "IPv4 does not support lvs_ipv6_addrlabel" error, as the parameter is not used in IPv4 scenarioes
  • Loading branch information
oalbrigt authored Jul 25, 2024
2 parents 92a213d + a69a43d commit a21221b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions heartbeat/IPaddr2
Original file line number Diff line number Diff line change
Expand Up @@ -512,10 +512,6 @@ ip_init() {
echo $OCF_RESKEY_ip | grep -qs ":"
if [ $? -ne 0 ];then
FAMILY=inet
if ocf_is_true $OCF_RESKEY_lvs_ipv6_addrlabel ;then
ocf_exit_reason "IPv4 does not support lvs_ipv6_addrlabel"
exit $OCF_ERR_CONFIGURED
fi
if [ -z "$OCF_RESKEY_arp_bg" ]; then
OCF_RESKEY_arp_bg=true
fi
Expand Down

0 comments on commit a21221b

Please sign in to comment.