balabit/syslog-ng — pull request #44 by algernon (2013-12-20 21:40:05+00:00)
Title: afsocket: Restore localport() support for network destinations

A while ago, the functionality to set the local, originating ports of
network destinations has been lost. This patch restores that
functionality by setting the port on the socket address when it is being
set up.

Reported-by: Sebastiaan Hoogeveen
Signed-off-by: Gergely Nagy