X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fdhcpv4.h;h=4d14f094cc5848d0e7feb26e8573f4df9cd5daca;hp=6c72441a3718f0b1f055966818990fcf2fc5fefd;hb=9268ca65d6e000b6cd4ed72d4a8fa427dada6f06;hpb=1733ea4fa2d0b5286d9cfa20c1e18ee93562ec6d diff --git a/src/dhcpv4.h b/src/dhcpv4.h index 6c72441..4d14f09 100644 --- a/src/dhcpv4.h +++ b/src/dhcpv4.h @@ -1,5 +1,6 @@ /** * Copyright (C) 2012 Steven Barth + * Copyright (C) 2016 Hans Dedecker * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 @@ -78,7 +79,9 @@ struct dhcpv4_assignment { uint32_t addr; time_t valid_until; uint8_t hwaddr[6]; - char hostname[]; + uint32_t leasetime; + unsigned int flags; + char *hostname; }; struct dhcpv4_option {