A NSUPDATE compiling issue was observed
Description:
A following error was observed:
| 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
Test source is based on:
https://source.isc.org/git/dhcp.git
commit 85ef0d90e2ab5eee758242d5a094c1d12ce24576
Merge: a5b21e1 479b929
Author: Francis Dupont <fdupont@isc.org>
Date: Thu Nov 29 16:41:42 2018 +0100
Fixed server option code point conflict
How to reproduce:
Drop one line in includes/site.h:
-#define NSUPDATE
Possible fix:
I have verified it could be fixed by this patch: 0001-Fix-a-NSUPDATE-compiling-issue.patch
How to contact the reporter: