summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/lib/ofctl_v1_3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/lib/ofctl_v1_3.py b/ryu/lib/ofctl_v1_3.py
index 3cac36d7..4744a2ea 100644
--- a/ryu/lib/ofctl_v1_3.py
+++ b/ryu/lib/ofctl_v1_3.py
@@ -1014,7 +1014,7 @@ def get_port_desc(dp, waiters, to_user=True):
stats = msg.body
for stat in stats:
d = {'hw_addr': stat.hw_addr,
- 'name': stat.name.decode('utf-8'),
+ 'name': stat.name.decode('utf-8', errors='replace'),
'config': stat.config,
'state': stat.state,
'curr': stat.curr,