diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-05-31 18:33:40 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-06-03 13:44:05 +0200 |
commit | 0690f3222a69607843433e6ad0870af95193801e (patch) | |
tree | 3470004307420f3c136ae9d3c9ce1006e051b81b /src/conf_macros.m4 | |
parent | 368f03b2c3c63e82f8f9073f851143ff270d62a6 (diff) | |
download | sssd-0690f3222a69607843433e6ad0870af95193801e.tar.gz sssd-0690f3222a69607843433e6ad0870af95193801e.tar.xz sssd-0690f3222a69607843433e6ad0870af95193801e.zip |
SDAP: Use portable constant as level in setsockopt
The macros SOL_TCP and IPPROTO_TCP have the same value on linux,
but the first one is not portable.
man in.h says:
The <netinet/in.h> header shall define the following macros for use as
values of the level argument of getsockopt() and setsockopt():
IPPROTO_IP Internet protocol.
IPPROTO_IPV6 Internet Protocol Version 6.
IPPROTO_ICMP Control message protocol.
IPPROTO_RAW Raw IP Packets Protocol.
IPPROTO_TCP Transmission control protocol.
IPPROTO_UDP User datagram protocol.
Reviewed-by: Pavel Reichl <preichl@redhat.com>
(cherry picked from commit cf901f549abe18f32562cbe1ef7a1ef258edab1a)
Diffstat (limited to 'src/conf_macros.m4')
0 files changed, 0 insertions, 0 deletions