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

View File

@@ -2458,17 +2458,9 @@
(dev2_defgw_lldp6 is defined) and (dev2_defgw_lldp6 is defined) and
((dev2_defgw_lldp6.stdout | default('') | trim | length) > 0) ((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 ''
) )
) )
)
)
}} }}
changed_when: false changed_when: false