Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vrrp: Ensure VRRPv3 advert interval is <= 40.95 seconds #2424

Merged
merged 3 commits into from
Jun 2, 2024

Conversation

pqarmitage
Copy link
Collaborator

No description provided.

Commit 42a746c - "configure: ${prefix} defaults to NONE which messes up
DEFAULT_CONFIG_FILE" broke the checking of whether a secondary default
config file location is required. This commit resolves the issue.

Signed-off-by: Quentin Armitage <[email protected]>
If an advert interval of 40.958 seconds was configured, it was being
round up to 40.96 after the check that the advert interval was less than
40.96. The consequence of this was that adverts were being sent at
40.96 second intervals, but worse, the advert interval in the VRRP
packet was set to 0.

This commit now ensures that after the rounding the advert interval is
<= 40.95 seconds.

Signed-off-by: Quentin Armitage <[email protected]>
@pqarmitage pqarmitage merged commit 379faa5 into acassen:master Jun 2, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant