]> arthur.barton.de Git - ngircd.git/commit
Check type of sockets passed-in by systemd(8)
authorAlexander Barton <alex@barton.de>
Sun, 10 Feb 2013 19:20:58 +0000 (20:20 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 10 Feb 2013 19:20:58 +0000 (20:20 +0100)
commit5c6875d7686e1b4dbf1a82b6d159bd5f18da4a52
treeafcb93d383379082e89de98654fddc55bd385b11
parenta78c7b3898e8f2b037fb42aac599ed8f8ec9bd58
Check type of sockets passed-in by systemd(8)

This patch makes sure that ngIRCd doesn't try to handle sockets of
unsupported types, for example of AF_INET6 sockets when ngIRCd isn't
compiled with support for IPv6 ...
src/ngircd/conn.c