From: Ted Lemon Date: Mon, 29 Jun 1998 22:28:00 +0000 (+0000) Subject: Make lease_state -> filename a static array for now. X-Git-Tag: V2-BETA-1-PATCH-7~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc4bacc874f7ba2af1d49917c138c68665736dd2;p=thirdparty%2Fdhcp.git Make lease_state -> filename a static array for now. Add lease_state -> from to allow the IP source address of the packet to be computed in ack_lease(). --- diff --git a/includes/dhcpd.h b/includes/dhcpd.h index cf82132bc..f8be4254b 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -155,7 +155,10 @@ struct lease_state { struct tree_cache *options [256]; u_int32_t expiry, renewal, rebind; - char *filename, *server_name; + char filename [DHCP_FILE_LEN] + char *server_name; + + struct iaddr from; u_int32_t xid; u_int16_t secs;