-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As mentioned in the structure definition in lb.h, northd should never use 'vip_port' instead it should always use 'port_str'. That's because it might not always be possible to evaluate the port value in northd, e.g., when using LB templates. This commit also updates other occurrences of 'vip_port' replacing them with 'port_str' in northd. Those were not causing issues because they were only in cases when templates are not supported (LB affinity for example) but it's better to have consistency in style. Fixes: 7b94d21 ("northd: Refactor build_lrouter_nat_flows_for_lb function") Signed-off-by: Dumitru Ceara <dceara@redhat.com> Acked-by: Ales Musil <amusil@redhat.com>
- Loading branch information
Showing
2 changed files
with
86 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters