summaryrefslogtreecommitdiffstats
path: root/net.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-26 17:21:02 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-26 17:21:02 +0000
commit94af628fbd7eaed384e0b9150638019fb6efd5e3 (patch)
tree1d09b352a0103d08ca4293c15deb6cbf6a6ff87c /net.c
parent3eff8e5404a3792acbd4ad00f5c4675a940a0eeb (diff)
downloadrsyslog-94af628fbd7eaed384e0b9150638019fb6efd5e3.tar.gz
rsyslog-94af628fbd7eaed384e0b9150638019fb6efd5e3.tar.xz
rsyslog-94af628fbd7eaed384e0b9150638019fb6efd5e3.zip
removed active INET code from syslogd.c - still some auxiliary things
remain
Diffstat (limited to 'net.c')
-rw-r--r--net.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net.c b/net.c
index fdeb71da..8a1f7231 100644
--- a/net.c
+++ b/net.c
@@ -340,7 +340,7 @@ void PrintAllowedSenders(int iListToPrint)
#endif
);
- printf("\nAllowed %s Senders:\n",
+ dbgprintf("Allowed %s Senders:\n",
(iListToPrint == 1) ? "UDP" :
#ifdef USE_GSSAPI
(iListToPrint == 3) ? "GSS" :
@@ -353,16 +353,16 @@ void PrintAllowedSenders(int iListToPrint)
#endif
pAllowedSenders_TCP;
if(pSender == NULL) {
- printf("\tNo restrictions set.\n");
+ dbgprintf("\tNo restrictions set.\n");
} else {
while(pSender != NULL) {
if (F_ISSET(pSender->allowedSender.flags, ADDR_NAME))
- printf ("\t%s\n", pSender->allowedSender.addr.HostWildcard);
+ dbgprintf ("\t%s\n", pSender->allowedSender.addr.HostWildcard);
else {
if(getnameinfo (pSender->allowedSender.addr.NetAddr,
SALEN(pSender->allowedSender.addr.NetAddr),
(char*)szIP, 64, NULL, 0, NI_NUMERICHOST) == 0) {
- printf ("\t%s/%u\n", szIP, pSender->SignificantBits);
+ dbgprintf ("\t%s/%u\n", szIP, pSender->SignificantBits);
} else {
/* getnameinfo() failed - but as this is only a
* debug function, we simply spit out an error and do