syslog-ng--mainline: added direction to socket setup code, fixed multicast setup
Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-49> Revision: syslog-ng--mainline--2.0--patch-49 Archive: devel@balabit.hu--other-1 Creator: Balazs Scheidler <bazsi@balabit.hu> Date: Tue May 23 20:31:55 CEST 2006 Standard-date: 2006-05-23 18:31:55 GMT Modified-files: ChangeLog src/afinet.c src/afsocket.c src/afsocket.h New-patches: devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-49 Summary: added direction to socket setup code, fixed multicast setup Keywords: 2006-05-23 Balazs Scheidler <bazsi@balabit.hu> * src/afsocket.h (AFSocketDirection): new type, specifies the future communication direction on a socket, used to determine which socket options to set on a socket, * src/afsocket.c (afsocket_setup_socket): added direction parameter, (afsocket_sd_setup_socket, afsocket_dd_setup_socket): pass value for 'direction' parameter * src/afinet.c (afinet_setup_socket): added direction parameter, fixed multicast check for IPv4 addresses Diff stats: ChangeLog | 25 ++++++++++++++++++++++++ src/afinet.c | 59 +++++++++++++++++++++++++++++++++------------------------ src/afsocket.c | 25 ++++++++++++++---------- src/afsocket.h | 8 ++++++- 4 files changed, 82 insertions(+), 35 deletions(-)
participants (1)
-
bazsi@balabit.hu