- self.address = args[2]
- if args[3] != 'port':
- args.insert(3, 'port')
- args.insert(4, '')
- self.port = args[4]
- self.cipher = int(args[6])
- self.digest = int(args[8])
- self.maclength = int(args[10])
- self.compression = int(args[12])
- self.options = int(args[14], 0x10)
- self.status = int(args[16], 0x10)
- self.nexthop = args[18]
- self.via = args[20]
- self.distance = int(args[22])
- self.pmtu = int(args[24])
- self.minmtu = int(args[26])
- self.maxmtu = int(args[28][:-1])
+ self.address = args[1]
+ self.port = args[3]
+ self.cipher = int(args[4])
+ self.digest = int(args[5])
+ self.maclength = int(args[6])
+ self.compression = int(args[7])
+ self.options = int(args[8], 0x10)
+ self.status = int(args[9], 0x10)
+ self.nexthop = args[10]
+ self.via = args[11]
+ self.distance = int(args[12])
+ self.pmtu = int(args[13])
+ self.minmtu = int(args[14])
+ self.maxmtu = int(args[15])
+ self.last_state_change = float(args[16])