diff options
author | jhb <jhb@FreeBSD.org> | 2013-01-22 19:45:04 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-01-22 19:45:04 +0000 |
commit | e1b160d5be401f7ce823db4c2f488555f80c830e (patch) | |
tree | 457d8ed013c861c4337002956caa74c1f7bdcb13 /sys/netinet/udp.h | |
parent | 2f487068869e542b856aac642ad680f1ae7ad83a (diff) | |
download | FreeBSD-src-e1b160d5be401f7ce823db4c2f488555f80c830e.zip FreeBSD-src-e1b160d5be401f7ce823db4c2f488555f80c830e.tar.gz |
Use decimal values for UDP and TCP socket options rather than hex to avoid
implying that these constants should be treated as bit masks.
Reviewed by: net
MFC after: 1 week
Diffstat (limited to 'sys/netinet/udp.h')
-rw-r--r-- | sys/netinet/udp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/udp.h b/sys/netinet/udp.h index 2dbcaca..cea2667 100644 --- a/sys/netinet/udp.h +++ b/sys/netinet/udp.h @@ -48,7 +48,7 @@ struct udphdr { /* * User-settable options (used with setsockopt). */ -#define UDP_ENCAP 0x01 +#define UDP_ENCAP 1 /* |