diff options
author | Doug Barton <dougb@FreeBSD.org> | 2010-03-02 19:49:55 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2010-03-02 19:49:55 +0000 |
commit | 841024d54f1f0a07feccf84d8938b00bc1f362b5 (patch) | |
tree | c470abc978aa6ca4f6b0033d7e09c8b7b09cd629 /lib/dns/view.c | |
parent | 51917575cfd35d6a201b010726ea7404a0f9bb7e (diff) |
Notes
Diffstat (limited to 'lib/dns/view.c')
-rw-r--r-- | lib/dns/view.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dns/view.c b/lib/dns/view.c index 5f1447ae06ed3..961268e22c1cb 100644 --- a/lib/dns/view.c +++ b/lib/dns/view.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: view.c,v 1.150.84.2 2009/01/29 23:47:44 tbox Exp $ */ +/* $Id: view.c,v 1.150.84.3 2009/11/12 23:39:23 marka Exp $ */ /*! \file */ @@ -1250,7 +1250,8 @@ dns_view_getpeertsig(dns_view_t *view, isc_netaddr_t *peeraddr, if (result != ISC_R_SUCCESS) return (result); - return (dns_view_gettsig(view, keyname, keyp)); + result = dns_view_gettsig(view, keyname, keyp); + return ((result == ISC_R_NOTFOUND) ? ISC_R_FAILURE : result); } isc_result_t |