summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-01-22 19:45:04 +0000
committerjhb <jhb@FreeBSD.org>2013-01-22 19:45:04 +0000
commite1b160d5be401f7ce823db4c2f488555f80c830e (patch)
tree457d8ed013c861c4337002956caa74c1f7bdcb13 /sys/netinet/udp.h
parent2f487068869e542b856aac642ad680f1ae7ad83a (diff)
downloadFreeBSD-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.h2
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
/*
OpenPOWER on IntegriCloud