summaryrefslogtreecommitdiffstats
path: root/dhcp.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-08-06 08:28:43 +0000
committerRoy Marples <roy@marples.name>2008-08-06 08:28:43 +0000
commit7f692d054ca89f52ba7113efb14433445c45dafb (patch)
tree259cad77e137cbc3e1929dba78828ebc98b6df78 /dhcp.c
parent6fb09249faab7273fb0bd04e991f38cf07afae0e (diff)
downloaddhcpcd-7f692d054ca89f52ba7113efb14433445c45dafb.tar.xz
Remove the MINIMAL define.
Diffstat (limited to 'dhcp.c')
-rw-r--r--dhcp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/dhcp.c b/dhcp.c
index 09bf4e6b..58d1628b 100644
--- a/dhcp.c
+++ b/dhcp.c
@@ -775,7 +775,6 @@ make_message(struct dhcp_message **message,
p += 2;
}
-#ifndef MINIMAL
if (iface->clientid) {
*p++ = DHCP_CLIENTID;
memcpy(p, iface->clientid, iface->clientid[0] + 1);
@@ -795,7 +794,6 @@ make_message(struct dhcp_message **message,
p += options->classid[0] + 1;
}
}
-#endif
if (type == DHCP_DISCOVER || type == DHCP_REQUEST) {
#define PUTADDR(_type, _val) \
@@ -828,7 +826,6 @@ make_message(struct dhcp_message **message,
type == DHCP_INFORM ||
type == DHCP_REQUEST)
{
-#ifndef MINIMAL
if (options->hostname[0]) {
if (options->fqdn == FQDN_DISABLE) {
*p++ = DHCP_HOSTNAME;
@@ -872,7 +869,6 @@ make_message(struct dhcp_message **message,
memcpy(p, options->vendor, options->vendor[0] + 1);
p += options->vendor[0] + 1;
}
-#endif
*p++ = DHCP_PARAMETERREQUESTLIST;
n_params = p;