Skip to content

Commit

Permalink
Fix #323
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-kirienko authored and Zaynulla committed Apr 14, 2024
1 parent 76c9610 commit 1acc929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycyphal/transport/udp/_udp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
*, # The following parameters are keyword-only.
mtu: int = MTU_DEFAULT,
service_transfer_multiplier: int = 1,
Expand All @@ -85,7 +85,7 @@ def __init__(
:param local_node_id: As explained previously, the node-ID is part of the UDP Frame.
- If the value is None, an anonymous instance will be constructed.
- If the value is None (default), an anonymous instance will be constructed.
Emitted UDP frames will then report its :attr:`source_node_id` as None.
- If the value is a non-negative integer, then we can setup both input and output sessions.
Expand Down

0 comments on commit 1acc929

Please sign in to comment.