mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 13:50:00 -04:00
fix bad return value
This commit is contained in:
parent
9779deddba
commit
a5cda71d84
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ isc_sockaddr_totext(const isc_sockaddr_t *sockaddr, isc_buffer_t *target) {
|
|||
sprintf(pbuf, "%u", ntohs(sin6->sin6_port));
|
||||
break;
|
||||
default:
|
||||
return (NULL);
|
||||
return (ISC_R_NOTIMPLEMENTED);
|
||||
}
|
||||
|
||||
alen = strlen(abuf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue