]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/config/network/lexer.rs
src/config/network.rs: make it compatible with pve
[proxmox-backup.git] / src / config / network / lexer.rs
index 47ddb02116d48f2f180b98b9d1c82899d861d346..d8a769b240d11da0326d13890e507ba3986ede1d 100644 (file)
@@ -23,6 +23,7 @@ pub enum Token {
     Attribute,
     MTU,
     BridgePorts,
+    BridgeVlanAware,
     BondSlaves,
     EOF,
 }
@@ -44,6 +45,8 @@ lazy_static! {
         map.insert("mtu", Token::MTU);
         map.insert("bridge-ports", Token::BridgePorts);
         map.insert("bridge_ports", Token::BridgePorts);
+        map.insert("bridge-vlan-aware", Token::BridgeVlanAware);
+        map.insert("bridge_vlan_aware", Token::BridgeVlanAware);
         map.insert("bond-slaves", Token::BondSlaves);
         map.insert("bond_slaves", Token::BondSlaves);
         map