summaryrefslogtreecommitdiffstats
path: root/dhcp.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-02-25 07:52:07 +0000
committerRoy Marples <roy@marples.name>2009-02-25 07:52:07 +0000
commite59105abf07540504b49d54ffbb547b907cc0e44 (patch)
tree59c74594114d01dc9e4cbde10652ead83dcd74b7 /dhcp.c
parentcd93080d6c02ea3cdb01cf72a4e660d515beb701 (diff)
downloaddhcpcd-e59105abf07540504b49d54ffbb547b907cc0e44.tar.xz
Don't timeout if we're daemonised.
Diffstat (limited to 'dhcp.c')
-rw-r--r--dhcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcp.c b/dhcp.c
index 2689b734..e836211a 100644
--- a/dhcp.c
+++ b/dhcp.c
@@ -816,7 +816,7 @@ make_message(struct dhcp_message **message,
}
dhcp->xid = iface->state->xid;
dhcp->cookie = htonl(MAGIC_COOKIE);
-
+#if 0
*p++ = DHO_MESSAGETYPE;
*p++ = 1;
*p++ = type;
@@ -952,7 +952,7 @@ make_message(struct dhcp_message **message,
*n_params = p - n_params - 1;
}
*p++ = DHO_END;
-
+#endif
#ifdef BOOTP_MESSAGE_LENTH_MIN
/* Some crappy DHCP servers think they have to obey the BOOTP minimum
* message length.