Skip to content
Commit a7362cf7 authored by Flavio Santes's avatar Flavio Santes Committed by Inaky Perez-Gonzalez
Browse files

dns: FIX: use byteorder.h functions



The previous version of the DNS Client sample code assumes a
little-endian machine as a target. In this patch we use the byteorder.h
functions to handle the cpu to network order conversions.
Theoretically, this code must run on little and big endian machines.

Cosmetic changes are also applied to other files.

Change-Id: I2b47f6252fa070e0a0253666fde1785530d6aebf
Signed-off-by: default avatarFlavio Santes <flavio.santes@intel.com>
parent 0aa19138
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment