fix dhcp6.py bug using python3

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
胡鼎原 2017-05-15 11:17:39 +08:00 committed by FUJITA Tomonori
parent bfcd65744c
commit 51a86c4d56
1 changed files with 1 additions and 1 deletions

View File

@ -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: