Skip to content

Commit

Permalink
Merge pull request #34 from openziti/fix-sockaddr-port-type
Browse files Browse the repository at this point in the history
port field should be unsigned
  • Loading branch information
ekoby authored Oct 18, 2022
2 parents 9290e16 + bee106f commit 0002325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openziti/zitilib.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class SockAddrIn(ctypes.Structure):
"""
_fields_ = [
('_family', ctypes.c_uint8 * 2),
('_port', ctypes.c_int16),
('_port', ctypes.c_uint16),
('_addr', ctypes.c_uint8 * 4)
]

Expand Down

0 comments on commit 0002325

Please sign in to comment.