The data field is called 'ip6' in other places, not 'ipv6', for
example in the interfaces panel.

If there is an interface with a pre-assigned IPv6 address, it
previously would not show, but submitting an edit would fail with an
error that the additional property 'ipv6' is not defined in the
schema:

> interfaces[1]: invalid format - format error interfaces[1].ipv6:
> property is not defined in schema and the schema does not allow
> additional properties

Signed-off-by: Fiona Ebner <[email protected]>
---

Hope I didn't miss any actual usages of 'ipv6'. A close look from
somebody who is not new to this part of the could would be
appreciated!

 www/manager6/sdn/fabrics/NodeEdit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/sdn/fabrics/NodeEdit.js 
b/www/manager6/sdn/fabrics/NodeEdit.js
index ef4577cb..0ace12cd 100644
--- a/www/manager6/sdn/fabrics/NodeEdit.js
+++ b/www/manager6/sdn/fabrics/NodeEdit.js
@@ -155,7 +155,7 @@ Ext.define('PVE.sdn.Fabric.Node.Edit', {
             name: iface.iface,
             type: iface.type,
             ip: iface.cidr,
-            ipv6: iface.cidr6,
+            ip6: iface.cidr6,
         }));
 
         if (me.includeWireguardInterfaces) {
-- 
2.47.3




Reply via email to