zephyr/subsys
Michael Scott 086893fc55 net: app: client: set remote port after DNS lookup
In net_app_init_client(), the remote port is set after an initial
set of checks based on the remote_addr's assigned family.

However, if the peer_addr_str is a host name which needs to be
resolved via DNS, the family won't be set yet, and the port is
left as 0.

To fix this behavior let's move the port assignment after the
DNS lookup section to be sure that the remote sa_family is set.

Signed-off-by: Michael Scott <michael@opensourcefoundries.com>
2018-02-14 09:40:01 +02:00
..
bluetooth Bluetooth: Mesh: Fix NULL pointer access with GATT Proxy 2018-02-13 15:03:34 +02:00
console kconfig: fix help syntax and add spaces 2017-12-13 17:43:28 -06:00
cpp kconfig: fix help syntax and add spaces 2017-12-13 17:43:28 -06:00
debug debug: remove option GDB_INFO 2018-02-12 13:58:28 -08:00
dfu flash: remove obsolete FLASH_DRIVER_NAME 2018-02-06 11:48:53 -06:00
disk disk: delete the GET_DISK_SIZE IOCTL. 2018-01-31 09:14:40 -05:00
fs subsys: fs: fcb: remove f_area_id from fcb structure 2018-02-07 09:51:26 -05:00
logging lib: move ring_buffer from misc/ to lib/ 2017-12-15 20:02:01 -05:00
net net: app: client: set remote port after DNS lookup 2018-02-14 09:40:01 +02:00
random subsys: random: Fix semaphore initial count of xoroshiro128 2017-11-15 15:47:10 -06:00
shell shell: Added noprompt command 2018-02-02 07:48:46 -08:00
storage subsys: storage: flash_map - Use correct macro 2018-02-08 23:29:23 -05:00
usb usb: hid: Add Human Interface Device (HID) class 2018-01-31 07:42:19 -05:00
CMakeLists.txt subsys: fs: Add Flash Circular Buffer 2018-01-15 15:46:37 -05:00
Kconfig subsys: storage: Add flash_map abstraction module 2018-01-15 15:46:37 -05:00