This commit is contained in:
2026-06-15 10:06:07 +03:00
parent 852fc21e8c
commit b9e073c139

View File

@@ -2458,15 +2458,7 @@
(dev2_defgw_lldp6 is defined) and
((dev2_defgw_lldp6.stdout | default('') | trim | length) > 0)
)
else (
'ppp0'
if ((dev2_ppp0_ip.stdout | default('') | trim) is match('^10\.'))
else (
'eth0.4000'
if ((dev2_eth04000_ip.stdout | default('') | trim) is match('^10\.'))
else ''
)
)
else ''
)
)
}}