diff options
author | 胡鼎原 <hdyvip@gmail.com> | 2017-05-15 11:17:39 +0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-05-30 22:10:46 +0900 |
commit | 51a86c4d568ecc7ff08182b69e4b949bc9ec9876 (patch) | |
tree | 24e28d3ce946ac4778c7f1977cc0e23b68a8f509 | |
parent | bfcd65744cdd83a04b999b701d692a793951841f (diff) |
fix dhcp6.py bug using python3
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/lib/packet/dhcp6.py | 2 |
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: |