Skip to content

Commit

Permalink
fix(discover-doip): Fix incorrect variable in log message
Browse files Browse the repository at this point in the history
004a764 did not take sufficient care to
adapt existing code to the new changes.
  • Loading branch information
ferdinandjarisch authored and rumpelsepp committed Jan 16, 2025
1 parent 0d584b8 commit e6d8dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gallia/commands/discover/doip.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ async def run_udp_discovery(self) -> list[tuple[str, int]]:
while True:
data, from_addr = await asyncio.wait_for(loop.sock_recvfrom(sock, 1024), 2)
info = VehicleAnnouncementMessage.unpack(data[8:])
logger.notice(f"[💝]: {addr} responded: {info}")
logger.notice(f"[💝]: {from_addr} responded: {info}")
found.append(from_addr)
except TimeoutError:
logger.info("[💔] Reached timeout...")
Expand Down

0 comments on commit e6d8dc3

Please sign in to comment.