tag | eb67ea20079d5644a97b28ef8084f0f57e300b89 | |
---|---|---|
tagger | Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> | Fri Aug 05 16:18:53 2016 -0700 |
object | a7362cf77fb26be0046da2f1080cfee0d185a91d |
v1.5.0-rc1
commit | a7362cf77fb26be0046da2f1080cfee0d185a91d | [log] [tgz] |
---|---|---|
author | Flavio Santes <flavio.santes@intel.com> | Thu Aug 04 12:02:35 2016 -0500 |
committer | Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> | Fri Aug 05 23:15:50 2016 +0000 |
tree | b210f276e21920952a9a940faebfb6cbadeb9738 | |
parent | 0aa191389cbe79f3b2051b38937350b897e28b9b [diff] |
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: Flavio Santes <flavio.santes@intel.com>