From f1ff8975c61e4df2c32fa4768dfb0378e39dd380 Mon Sep 17 00:00:00 2001 From: Song Meo Date: Fri, 3 May 2024 15:56:33 +0300 Subject: [PATCH] #323: change local_node_id from 0 to None --- pycyphal/transport/udp/_udp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycyphal/transport/udp/_udp.py b/pycyphal/transport/udp/_udp.py index 20965946..7478d9c2 100644 --- a/pycyphal/transport/udp/_udp.py +++ b/pycyphal/transport/udp/_udp.py @@ -64,7 +64,7 @@ class UDPTransport(pycyphal.transport.Transport): def __init__( self, local_ip_address: IPAddress | str, - local_node_id: typing.Optional[int] = 0, + local_node_id: typing.Optional[int] = None, *, # The following parameters are keyword-only. mtu: int = MTU_DEFAULT, service_transfer_multiplier: int = 1,