fix dhcp6.py bug using python3
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
bfcd65744c
commit
51a86c4d56
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue