summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/syslogd.c b/syslogd.c
index f99b35f9..5e0772c7 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -1081,20 +1081,6 @@ void freeAllSockets(int **socks)
}
-/* get the syslog forward port from selector_t. The passed in
- * struct must be one that is setup for forwarding.
- * rgerhards, 2007-06-28
- * We may change the implementation to try to lookup the port
- * if it is unspecified. So far, we use the IANA default auf 514.
- */
-char *getFwdSyslogPt(selector_t *f)
-{
- assert(f != NULL);
- if(f->f_un.f_forw.port == NULL)
- return("514");
- else
- return(f->f_un.f_forw.port);
-}
/*******************************************************************