Always use protocol = 0 for AF_UNIX sockets
Replace socket('AF_UNIX', 'SOCK_STREAM', 'ip') with socket('AF_UNIX', 'SOCK_STREAM', 0). Fixes distributions with missing "ip 0 IP" line in /etc/protocols (e.g. Arch Linux).
Loading
Please register or sign in to comment