diff options
-rw-r--r-- | ryu/lib/of_config/capable_switch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/lib/of_config/capable_switch.py b/ryu/lib/of_config/capable_switch.py index b067da0f..cce48860 100644 --- a/ryu/lib/of_config/capable_switch.py +++ b/ryu/lib/of_config/capable_switch.py @@ -67,7 +67,7 @@ class OFCapableSwitch(object): def _find_capable_switch(self, tree): capable_switch = None - for element in tree.getchildren(): + for element in tree: ns, tag = get_ns_tag(element.tag) if tag != ofc_consts.CAPABLE_SWITCH: continue |