Commit 02e407d9 authored by Jarrod Pas's avatar Jarrod Pas
Browse files

Add source back to Node.recv

parent 67620e8c
......@@ -423,12 +423,13 @@ class Node:
"""Call when a packet expires."""
def recv(self, packet):
def recv(self, packet, source=None):
Recieve a packet.
If the packet has reached it's destination notes the time then
# pylint: disable=unused-argument
if packet.destination is self:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment