summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Bergantinos Corpas <rbergant@redhat.com>2020-11-16 08:39:36 -0500
committerSteve Dickson <steved@redhat.com>2020-11-16 08:39:36 -0500
commit7be92b30e47801c651e5316217d1651454653f68 (patch)
tree0347278e93b41b80b7d6ca91fba9db3f04c44914
parent4bedceec49c804911770561fb09a4d2641f7d28d (diff)
downloadrpcbind-7be92b30e47801c651e5316217d1651454653f68.tar.gz
security: dowgrade priority for non-libwrap CALLIT logging
Use aswell auth.warning for non-libwrap CALLIT logging, otherwise we'll broadcast everywhere for a call that is not allowed anyway Signed-off-by: Roberto Bergantinos Corpas <rbergant@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--src/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security.c b/src/security.c
index 329c53d..38967dd 100644
--- a/src/security.c
+++ b/src/security.c
@@ -346,7 +346,7 @@ deny:
logit(deny_severity, sa, args->rmt_proc, args->rmt_prog,
": indirect call not allowed");
#else
- logit(0, sa, args->rmt_proc, args->rmt_prog,
+ logit(LOG_AUTH|LOG_WARNING, sa, args->rmt_proc, args->rmt_prog,
": indirect call not allowed");
#endif
return 0;