[pve-devel] [PATCH] add tag to network parser

root aderumier at odiso.com
Fri Mar 23 08:59:45 CET 2012


Signed-off-by: root <aderumier at odiso.com>
---
 www/manager/Parser.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/www/manager/Parser.js b/www/manager/Parser.js
index 17e16a1..5bedb8e 100644
--- a/www/manager/Parser.js
+++ b/www/manager/Parser.js
@@ -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
-- 
1.7.2.5




More information about the pve-devel mailing list