-
Notifications
You must be signed in to change notification settings - Fork 321
Closed
Description
In the mon_desc() function in server.c, the text for the PID is correct for a UI frame but incorrect for an I frame. The latter incorrectly prefixes the PID value with '0x'.
For example:
UI frame: "pid=F0" -- correct
I frame: "pid=0xF0" -- incorrect
The comment above the function shows the correct text, per the AGWPE spec, but the code adds the '0x' prefix, such that a client expecting to parse the string per the spec fails.
The bug is here:
https://github.com/wb2osz/direwolf/blob/master/src/server.c#L1035
and the fix is simply to remove the leading '0x' in the format string.
Metadata
Metadata
Assignees
Labels
No labels