net/ndp-proxy-go: Fix carp_depend_on condition in template (#5141)

This commit is contained in:
Monviech 2026-01-16 21:21:23 +01:00 committed by GitHub
parent b7cf2c098a
commit 10e42b15e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
PLUGIN_NAME= ndp-proxy-go
PLUGIN_VERSION= 1.3
PLUGIN_REVISION= 1
PLUGIN_COMMENT= IPv6 Neighbor Discovery Protocol (NDP) Proxy
PLUGIN_MAINTAINER= cedrik@pischem.com
PLUGIN_DEPENDS= ndp-proxy-go

View file

@ -2,7 +2,7 @@
{% set general = helpers.getNodeByTag('OPNsense.ndpproxy.general') %}
{% if general.enabled|default("0") == "1" and general.upstream and general.downstream %}
ndp_proxy_go_enable="YES"
{% if general.carp_depend_on %}
{% if general.carp_depend_on|default("0") == "1" %}
ndp_proxy_go_check_carp="YES"
{% endif %}
ndp_proxy_go_upstream="{{ helpers.physical_interface(general.upstream) }}"