summaryrefslogtreecommitdiffstats
path: root/src/resolv
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-05-31 18:33:40 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-06-03 11:16:12 +0200
commitcf901f549abe18f32562cbe1ef7a1ef258edab1a (patch)
tree2bdfb33af9332aeb989288fdbeffed72f21d0adf /src/resolv
parentffa42f689dded74b0c0b0451bff3516bc4003179 (diff)
downloadsssd-cf901f549abe18f32562cbe1ef7a1ef258edab1a.tar.gz
sssd-cf901f549abe18f32562cbe1ef7a1ef258edab1a.tar.xz
sssd-cf901f549abe18f32562cbe1ef7a1ef258edab1a.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>
Diffstat (limited to 'src/resolv')
0 files changed, 0 insertions, 0 deletions