]> granicus.if.org Git - php/commit
Revert "Payload of HOPLIMIT/TCLASS are 8-bit"
authorGustavo Lopes <glopes@nebm.ist.utl.pt>
Thu, 31 Jan 2013 14:26:10 +0000 (15:26 +0100)
committerGustavo Lopes <glopes@nebm.ist.utl.pt>
Sat, 2 Feb 2013 15:38:08 +0000 (16:38 +0100)
commit95f8d34f9c0980924098ce9554e899e461ce7cec
treec69f9f914f9e6106b632fd54f022294e768d793b
parent5c0a8b1a2a34ec504091e4e105e1c3b79d9fff89
Revert "Payload of HOPLIMIT/TCLASS are 8-bit"

This reverts commit 61a5ec7381ba5388a52926779fe3f58af0caea83.

I checked Linux and OpenBSD and both use integers to write the
IPV6_TCLASS messages and they don't force any endianness. This is
despite RFC 3542 explicitly saying the first byte of cmsg_data will
have the result. In any case, it doesn't make any difference in
little-endian archs.
ext/sockets/conversions.c
ext/sockets/conversions.h
ext/sockets/sendrecvmsg.c