]> code.ossystems Code Review - openembedded-core.git/commit
dhcp: fix a NSUPDATE compiling issue
authorMing Liu <liu.ming50@gmail.com>
Tue, 14 May 2019 18:32:13 +0000 (20:32 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 May 2019 08:16:19 +0000 (09:16 +0100)
commite36076b6feca481b7a7a44b1c03c4cfca2dd8c48
tree2d421387da71b9b862bc202aa9d391ffd0768605
parent6676411fccff2d331878e4ca1f9411aafb056a80
dhcp: fix a NSUPDATE compiling issue

This patch fixes a following issue:
| omapip/isclib.c: In function 'dns_client_init':
| omapip/isclib.c:356:18: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'dnsclient'
|   if (dhcp_gbl_ctx.dnsclient == NULL) {
|                   ^
| omapip/isclib.c:363:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'dnsclient'
|            &dhcp_gbl_ctx.dnsclient,
|                         ^
| omapip/isclib.c:364:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'use_local4'
|            (dhcp_gbl_ctx.use_local4 ?
|                         ^
| omapip/isclib.c:365:25: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'local4_sockaddr'
|             &dhcp_gbl_ctx.local4_sockaddr
|                          ^
| omapip/isclib.c:367:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'use_local6'
|            (dhcp_gbl_ctx.use_local6 ?
|                         ^
| omapip/isclib.c:368:25: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'local6_sockaddr'
|             &dhcp_gbl_ctx.local6_sockaddr

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/dhcp/dhcp/0001-Fix-a-NSUPDATE-compiling-issue.patch [new file with mode: 0644]
meta/recipes-connectivity/dhcp/dhcp_4.4.1.bb