Skip to content

Commit

Permalink
Auto advertise VIPs - Dont operate in NOT_DEFINED state
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Sep 19, 2023
1 parent 80ab514 commit 7108cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loxinet/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -2312,7 +2312,7 @@ func (R *RuleH) AdvRuleVIPIfL2(IP net.IP) error {
}
}

} else {
} else if ciState != "NOT_DEFINED" {
if IsIPHostAddr(IP.String()) {
if loxinlp.DelAddrNoHook(IP.String()+"/32", "lo") != 0 {
tk.LogIt(tk.LogError, "nat lb-rule vip %s:%s delete failed\n", IP.String(), "lo")
Expand Down

0 comments on commit 7108cf1

Please sign in to comment.