From: "Dominic Jäger" <d.jaeger@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH widget-toolkit] Fix #2711: vlan edit: Allow 'v' as VLAN separator
Date: Wed, 14 Apr 2021 11:53:13 +0200 [thread overview]
Message-ID: <20210414095313.96550-2-d.jaeger@proxmox.com> (raw)
In-Reply-To: <20210414095313.96550-1-d.jaeger@proxmox.com>
Set the VLAN raw device and VLAN ID fields in the GUI correctly when
VLANs are specified with 'v' instead of a dot, vmbr0v5 for example.
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
---
src/Utils.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Utils.js b/src/Utils.js
index 3fd8f91..2d58ad9 100644
--- a/src/Utils.js
+++ b/src/Utils.js
@@ -1046,7 +1046,7 @@ utilities: {
me.HostPortBrackets_match = new RegExp("^\\[(" + IPV6_REGEXP + "|" + IPV4_REGEXP + "|" + DnsName_REGEXP + ")\\](?::(\\d+))?$");
me.IP6_dotnotation_match = new RegExp("^(" + IPV6_REGEXP + ")(?:\\.(\\d+))?$");
me.Vlan_match = /^vlan(\d+)/;
- me.VlanInterface_match = /(\w+)\.(\d+)/;
+ me.VlanInterface_match = /(\w+)[v.](\d+)/;
},
});
--
2.20.1
next prev parent reply other threads:[~2021-04-14 9:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-14 9:53 [pve-devel] [PATCH common] Fix #2711: inotify: " Dominic Jäger
2021-04-14 9:53 ` Dominic Jäger [this message]
2021-04-14 11:26 ` Fabian Grünbichler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210414095313.96550-2-d.jaeger@proxmox.com \
--to=d.jaeger@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal