]> git.proxmox.com Git - pve-manager.git/commitdiff
add tag to network parser
authorroot <aderumier@odiso.com>
Fri, 23 Mar 2012 07:59:45 +0000 (08:59 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 23 Mar 2012 11:06:05 +0000 (12:06 +0100)
Signed-off-by: root <aderumier@odiso.com>
www/manager/Parser.js

index 17e16a138aaae35dd0be12b8ec2d12faed556dd0..5bedb8e61f5acea2c46213ff49b455af6258de60 100644 (file)
@@ -29,6 +29,8 @@ Ext.define('PVE.Parser', { statics: {
                res.bridge = match_res[1];
            } else if ((match_res = p.match(/^rate=(\d+(\.\d+)?)$/)) !== null) {
                res.rate = match_res[1];
+           } else if ((match_res = p.match(/^tag=(\d+(\.\d+)?)$/)) !== null) {
+                res.tag = match_res[1];
            } else {
                errors = true;
                return false; // break