mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 12:40:42 +01:00
Until now when port 0 was specified in imtcp, imgssapi or imdiag, it was automatically changed to 514 in tcpsrv. Imtcp and imgssapi accept port 0, but only if parameter listenPortFileName (imgssapi: inputgsslistenportfilename) is specified. Otherwise it will still change the port. Imdiag always accepts 0 as a port and will create a socket with a random port.