def pack(self): opt = ((o.CODE if is_subclass(o, DHCPOption) else o) for o in self.options) return b''.join(chr(x) for x in opt)
def pack (self): opt = ((o.CODE if is_subclass(o, DHCPOption) else o) for o in self.options) return b''.join(chr(x) for x in opt)