Hi I am writing a module using python in nox. i have two queries
1) In ipv4.py file, identification field of ip header is initialized with a 32 bit value self.id = int(time.time()) whereas in an ip header the identification field (id) is a 16 bit field. Should it not be initialized with some 16 bit value? 2) In dhcp.py def __init__(self, arr=None, prev=None): self.prev = prev if self.prev == None: ... ... else: assert(type(arr) == bytes) self.arr = arr self.parse() In a case where my prev is None and i have data in an array it will not parse data. I was wondering what exactly is the reason that the check is on self.prev instead of self.arr ? Regards, junaid
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev