]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Make lease_state -> filename a static array for now.
authorTed Lemon <source@isc.org>
Mon, 29 Jun 1998 22:28:00 +0000 (22:28 +0000)
committerTed Lemon <source@isc.org>
Mon, 29 Jun 1998 22:28:00 +0000 (22:28 +0000)
Add lease_state -> from to allow the IP source address of the packet to
be computed in ack_lease().

includes/dhcpd.h

index cf82132bc74b3a9a41a4e12bf35d3384668d8ec5..f8be4254bcbfc54bef137a11d487b811bf41a1a0 100644 (file)
@@ -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;