diff options
author | Shawn Routhier <sar@isc.org> | 2010-05-25 00:22:29 +0000 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2010-05-25 00:22:29 +0000 |
commit | d122accf9a2f5e7af71dd7c743720a27e10dc654 (patch) | |
tree | 84ac7f9df865f4565e6342344310fa8408d255c6 /common/dns.c | |
parent | 8a513c436ba497094752a6013be509a9ccc3734e (diff) | |
download | isc-dhcp-d122accf9a2f5e7af71dd7c743720a27e10dc654.tar.gz |
Patch for 21093 - handle v4 or v6 only a little better. If we can't contstruct
the context log it and leave, if we can but then try and do a DDNS transaction
using the protocol we don't have log it and continue.
Diffstat (limited to 'common/dns.c')
-rw-r--r-- | common/dns.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/dns.c b/common/dns.c index 5c2e5b33..970d7cf9 100644 --- a/common/dns.c +++ b/common/dns.c @@ -1464,6 +1464,10 @@ ddns_modify_fwd(dhcp_ddns_cb_t *ddns_cb) ddns_interlude, (void *)ddns_cb, &ddns_cb->transaction); + if (result == ISC_R_FAMILYNOSUPPORT) { + log_info("Unable to perform DDNS update, " + "address family not supported"); + } cleanup: if (dataspace != NULL) { @@ -1645,6 +1649,10 @@ ddns_modify_ptr(dhcp_ddns_cb_t *ddns_cb) dhcp_gbl_ctx.task, ddns_interlude, (void *)ddns_cb, &ddns_cb->transaction); + if (result == ISC_R_FAMILYNOSUPPORT) { + log_info("Unable to perform DDNS update, " + "address family not supported"); + } cleanup: if (dataspace != NULL) { |