netutils/dhcpd: fix incorrect OFFER packet handling
authorJin-Seong Kim <jseong82.kim@samsung.com>
Mon, 27 Mar 2017 07:51:18 +0000 (16:51 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:02 +0000 (12:02 +0900)
commit070273b9a5114425078a46152ad1ed5ec348dc7a
tree7ccc2c8fbfc18b6b1be2a361fe807b2e67db0c3c
parent781551ff139974b0cc8f1741149d674b7a0277ab
netutils/dhcpd: fix incorrect OFFER packet handling

This commit fixes incorrect OFFER packet handling of DHCPD. When DHCP
server sends an OFFER packet, the broadcast address in subnet should be
specified instead of the global broadcast address, so that we can avoid
the packet forwarding issue among loopback and user network interfaces.

Change-Id: Ib69ab1b2d17c0f89a56a955c6ac68ee6405267bf
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
apps/netutils/dhcpd/dhcpd.c