From e2917b5d1e3fbe3ffbce215d0227800cdd1de8ac Mon Sep 17 00:00:00 2001 From: Michal Fox Date: Tue, 29 Sep 2026 16:07:10 +0200 Subject: [PATCH] fix #6943: ui: network selector: show comments of IPv6 entries When an interface has an IPv6 address, the selector adds a separate entry for it and takes the comment from the 'comments6' property. The API never returns that property: since pve-common commit f2ac9dd ("fix #3153: INotify: adding comment of interface to inet6 section when this is the only section") the parser merges the inet6 comments into 'comments'. As a result, the comment of IPv6-only interfaces was dropped, and the IPv6 entry of dual-stack interfaces had no comment at all, for example when selecting corosync links or the Ceph networks. Just keep the 'comments' value, which is already present on the record or on its copy. Signed-off-by: Michal Fox Link: https://lore.proxmox.com/20260929140710.2823699-1-me@dualfroz.com --- src/form/NetworkSelector.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/form/NetworkSelector.js b/src/form/NetworkSelector.js index fe7c96b..fc4f70e 100644 --- a/src/form/NetworkSelector.js +++ b/src/form/NetworkSelector.js @@ -82,8 +82,6 @@ Ext.define('Proxmox.form.NetworkSelector', { dest.data.cidr = record.data.cidr6; dest.data.address = record.data.address6; delete record.data.cidr6; - dest.data.comments = record.data.comments6; - delete record.data.comments6; store.add(dest); } });