summaryrefslogtreecommitdiff
path: root/bin/confgen/ddns-confgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/confgen/ddns-confgen.c')
-rw-r--r--bin/confgen/ddns-confgen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/confgen/ddns-confgen.c b/bin/confgen/ddns-confgen.c
index e2a8628377ae7..99663428d8436 100644
--- a/bin/confgen/ddns-confgen.c
+++ b/bin/confgen/ddns-confgen.c
@@ -46,6 +46,7 @@
#include <dns/keyvalues.h>
#include <dns/name.h>
+#include <dns/result.h>
#include <dst/dst.h>
#include <confgen/os.h>
@@ -99,6 +100,8 @@ main(int argc, char **argv) {
int len = 0;
int ch;
+ dns_result_register();
+
result = isc_file_progname(*argv, program, sizeof(program));
if (result != ISC_R_SUCCESS)
memmove(program, "ddns-confgen", 13);