mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-09 08:56:23 -04:00
net/ndp-proxy-go: Fix carp_depend_on condition in template (#5141)
This commit is contained in:
parent
b7cf2c098a
commit
10e42b15e0
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) }}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue