Skip to content
Snippets Groups Projects
Commit 0ed73074 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

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).
parent b9faf059
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment