diff options
| author | Christian Breunig <christian@breunig.cc> | 2025-11-07 22:11:37 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2025-11-08 07:31:48 +0100 |
| commit | b9f0a9243b50211d7c21e996766c2ee9fd3b685c (patch) | |
| tree | 18136970b300a51996d36b857a954d2c538509da /interface-definitions | |
| parent | 25224cff345210aaecaa4db95a67bd759af666fb (diff) | |
| download | vyos-1x-b9f0a9243b50211d7c21e996766c2ee9fd3b685c.tar.gz vyos-1x-b9f0a9243b50211d7c21e996766c2ee9fd3b685c.zip | |
pppoe: T7485: make xml leafNode address a multi-type node
Commit fb9f2f3e950 ("pppoe: T7485: allow explicit request for CPE IPv6 address
via IA_NA") introduced the CLI node definition for address dhcpv6, which at the
time had only a single available option. Because of that, the node wasn't
defined as <multi/> in the XML schema.
However, the generic interface code expects address to be a <multi/> XML node,
which is translated into a list in Python. This mismatch caused an error
referencing the letter d, corresponding to the first character of dhcpv6.
Diffstat (limited to 'interface-definitions')
| -rw-r--r-- | interface-definitions/interfaces_pppoe.xml.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/interfaces_pppoe.xml.in b/interface-definitions/interfaces_pppoe.xml.in index 790cee632..d38074b41 100644 --- a/interface-definitions/interfaces_pppoe.xml.in +++ b/interface-definitions/interfaces_pppoe.xml.in @@ -29,6 +29,7 @@ <constraint> <regex>(dhcpv6)</regex> </constraint> + <multi/> </properties> </leafNode> #include <include/pppoe-access-concentrator.xml.i> |
