summaryrefslogtreecommitdiff
path: root/src/dhcp-protocol.h
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2018-06-21 16:36:11 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2018-06-21 16:54:17 +0900
commite673fe0d7a174fd6708d6c91873913c0df224a6f (patch)
tree364b296df4659c400f92b6ad69ac8f9ece2ece18 /src/dhcp-protocol.h
parent7407256e98e9edb6a87e5f7dadd38fa90a022d2b (diff)
parent2b5ed83fec55f5d96338fe3ae5e394bed1a407f4 (diff)
downloaddnsmasq-e673fe0d7a174fd6708d6c91873913c0df224a6f.tar.gz
dnsmasq-e673fe0d7a174fd6708d6c91873913c0df224a6f.tar.bz2
dnsmasq-e673fe0d7a174fd6708d6c91873913c0df224a6f.zip
Update to 2.79
Change-Id: I36382b896dd583a66872d458f1c3b55461a9e95d
Diffstat (limited to 'src/dhcp-protocol.h')
-rw-r--r--src/dhcp-protocol.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dhcp-protocol.h b/src/dhcp-protocol.h
index 701b6cb..a4a3535 100644
--- a/src/dhcp-protocol.h
+++ b/src/dhcp-protocol.h
@@ -1,4 +1,4 @@
-/* dnsmasq is Copyright (c) 2000-2015 Simon Kelley
+/* dnsmasq is Copyright (c) 2000-2018 Simon Kelley
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,6 +19,10 @@
#define DHCP_CLIENT_ALTPORT 1068
#define PXE_PORT 4011
+/* These each hold a DHCP option max size 255
+ and get a terminating zero added */
+#define DHCP_BUFF_SZ 256
+
#define BOOTREQUEST 1
#define BOOTREPLY 2
#define DHCP_COOKIE 0x63825363