aboutsummaryrefslogtreecommitdiff
path: root/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'util.py')
-rw-r--r--util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.py b/util.py
index 493a4dc..25d8d9b 100644
--- a/util.py
+++ b/util.py
@@ -180,7 +180,7 @@ class VlanUtil:
number,
state.default_vlan_id,
state.default_vlan_id)
- if command == 'db.create_trunk':
+ elif command == 'db.create_trunk':
ret = db.create_trunk(data['port_id1'], data['port_id2'])
elif command == 'db.delete_switch':
ret = db.delete_switch(data['switch_id'])