A hazelut is either active or potential
This commit is contained in:
@ -171,7 +171,6 @@ class HelloTLV(TLV):
|
||||
sender.last_hello_time = time_h
|
||||
sender.last_long_hello_time = time_hl
|
||||
sender.symmetric = True
|
||||
sender.potential = False
|
||||
sender.active = True
|
||||
squirrel.update_hazelnut_table(sender)
|
||||
squirrel.nbNS += 1
|
||||
@ -376,7 +375,6 @@ class GoAwayTLV(TLV):
|
||||
def handle(self, squirrel: Any, sender: Any) -> None:
|
||||
if sender.active:
|
||||
sender.active = False
|
||||
sender.potential = True
|
||||
squirrel.update_hazelnut_table(sender)
|
||||
squirrel.add_system_message("Some told me that he went away : " + self.message)
|
||||
|
||||
|
Reference in New Issue
Block a user