diff --git a/cpukit/libnetworking/lib/syslog.c b/cpukit/libnetworking/lib/syslog.c
index 10a75a6..c0e7270 100644
a
|
b
|
openlog (const char *ident, int logstat, int logfac) |
142 | 142 | */ |
143 | 143 | myAddress.sin_family = AF_INET; |
144 | 144 | myAddress.sin_addr.s_addr = INADDR_ANY; |
145 | | myAddress.sin_port = 0; |
| 145 | myAddress.sin_port = htons (SYSLOG_PORT);; |
146 | 146 | memset (myAddress.sin_zero, '\0', sizeof myAddress.sin_zero); |
147 | 147 | if (bind (LogFd, (struct sockaddr *)&myAddress, sizeof (myAddress)) < 0) { |
148 | 148 | close (LogFd); |