mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-11-01 18:04:12 +08:00
Handling "vlan 2"
This commit is contained in:
1 parent
4ad0b7fd3d
commit
16d61857b7
1 file changed
+1
@@ -310,6 +310,7 @@ class Handler(SimpleHTTPRequestHandler):
|
|||||||
vid = int(pieces[1]);
|
vid = int(pieces[1]);
|
||||||
startIndex=2
|
startIndex=2
|
||||||
name=""
|
name=""
|
||||||
|
if len(pieces) > 2:
|
||||||
if pieces[2] == "d":
|
if pieces[2] == "d":
|
||||||
return self.remove_vlan(vid)
|
return self.remove_vlan(vid)
|
||||||
elif pieces[2] == "mgmt":
|
elif pieces[2] == "mgmt":
|
||||||
|
|||||||
Reference in new issue
Block a user