summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/lib/packet/dhcp6.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/lib/packet/dhcp6.py b/ryu/lib/packet/dhcp6.py
index b3753dc1..3f917433 100644
--- a/ryu/lib/packet/dhcp6.py
+++ b/ryu/lib/packet/dhcp6.py
@@ -222,7 +222,7 @@ class options(stringify.StringifyMixin):
return cls(opt_parse_list, len(buf))
def serialize(self):
- seri_opt = ""
+ seri_opt = bytes()
for opt in self.option_list:
seri_opt += opt.serialize()
if self.options_len == 0: