Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dns: store IPv4 addresses in network byte order
This is done so that inet_ntop(3) can be used with IPv4 name server addresses. It expects the binary address in network byte order. If they are not that way the address octets are reversed. Change-Id: I81d4bb0abdd421f5ba260c10c610918652334a4d Signed-off-by: Heiko Hund <[email protected]> Acked-by: Frank Lichtenheld <[email protected]> Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg30111.html Signed-off-by: Gert Doering <[email protected]>
- Loading branch information