diff --git a/squinnondation/messages.py b/squinnondation/messages.py index 3ab31d3..661e6d2 100644 --- a/squinnondation/messages.py +++ b/squinnondation/messages.py @@ -176,8 +176,10 @@ class HelloTLV(TLV): sender.symmetric = True squirrel.activehazelnuts[(sender.address, sender.port)] = sender squirrel.nbNS += 1 - # squirrel.add_system_message(f"Aaaawwww, {self.source_id} spoke to me and said Hello " - # + ("long" if self.is_long else "short")) + squirrel.add_system_message(f"{self.source_id} sent me a Hello " + ("long" if self.is_long else "short")) + + if not self.is_long: + squirrel.send_packet(sender, Packet.construct(HelloTLV.construct(16, squirrel, sender))) @property def is_long(self) -> bool: