-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iiod: fix the printing of IP addresses inside iiod
when a IP client attaches to the current iiod, it prints out: New client connected from 0.0.0.0 This is because we this was coded when we only supported ipv4, but when we got a ipv6 socket (which is all the time now when we have ipv6 enabled), we didn't allocate the right size of structure, and the client/peer address didn't get decoded/printed out properly. So, fix that, and print out where the clients are at. Tested onm x86, ARM (32-bit and 64-bit) Signed-off-by: Robin Getz <[email protected]> Signed-off-by: Paul Cercueil <[email protected]>
- Loading branch information
Showing
1 changed file
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters