ossp-pkg/l2/l2_ch_syslog.c 1.29 -> 1.30
--- l2_ch_syslog.c 2002/01/02 17:07:38 1.29
+++ l2_ch_syslog.c 2002/07/25 13:33:00 1.30
@@ -134,7 +134,7 @@
/* initialize configuration with reasonable defaults */
cfg->szTarget = strdup("local");
cfg->szRemoteHost = NULL;
- cfg->nRemotePort = 514;
+ cfg->nRemotePort = 514; /*FIXME[thl] better use getservbyname()*/
if (uname(&uts) == 0) {
cfg->szLocalHost = strdup(uts.nodename);
if ((cp = strchr(cfg->szLocalHost, '.')) != NULL)
|
|