- tap_dump['host_mac_addr'] = str(tap_dump['host_mac_addr'])
- tap_dump['host_ip4_prefix'] = str(tap_dump['host_ip4_prefix'])
- tap_dump['host_ip6_prefix'] = str(tap_dump['host_ip6_prefix'])
- tap_dump['tap_flags'] = tap_dump['tap_flags'].value \
- if hasattr(tap_dump['tap_flags'], 'value') \
- else int(tap_dump['tap_flags'])
- tap_dump['host_namespace'] = None \
- if tap_dump['host_namespace'] == '(nil)' \
- else tap_dump['host_namespace']
- tap_dump['host_bridge'] = None \
- if tap_dump['host_bridge'] == '(nil)' \
- else tap_dump['host_bridge']
+ tap_dump[u"host_mac_addr"] = str(tap_dump[u"host_mac_addr"])
+ tap_dump[u"host_ip4_prefix"] = str(tap_dump[u"host_ip4_prefix"])
+ tap_dump[u"host_ip6_prefix"] = str(tap_dump[u"host_ip6_prefix"])
+ tap_dump[u"tap_flags"] = tap_dump[u"tap_flags"].value \
+ if hasattr(tap_dump[u"tap_flags"], u"value") \
+ else int(tap_dump[u"tap_flags"])
+ tap_dump[u"host_namespace"] = None \
+ if tap_dump[u"host_namespace"] == u"(nil)" \
+ else tap_dump[u"host_namespace"]
+ tap_dump[u"host_bridge"] = None \
+ if tap_dump[u"host_bridge"] == u"(nil)" \
+ else tap_dump[u"host_bridge"]