-
Notifications
You must be signed in to change notification settings - Fork 758
net/ndp-proxy-go: Add depend on CARP syshook #5108
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
base: master
Are you sure you want to change the base?
Conversation
| {% if general.enabled|default("0") == "1" and general.upstream and general.downstream %} | ||
| ndp_proxy_go_enable="YES" | ||
| {% if general.carp_depend_on %} | ||
| start_precmd="ifconfig | grep -q 'carp: MASTER'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't shake the feeling this was a quick fix I wrote a long time ago but now it's everywhere ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <label>Depend on (CARP)</label> | ||
| <type>checkbox</type> | ||
| <advanced>true</advanced> | ||
| <help>If any CARP VHID on this node is in BACKUP state, the service will be stopped. As NDP is stateless, a short interruption of IPv6 connectivity must be expected during CARP transitions.</help> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code code does "if any VHID is in MASTER state" though ;)
Requires: opnsense/ports#249
PR: https://forum.opnsense.org/index.php?topic=50157.0