X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fdhcpv4.h;h=4d14f094cc5848d0e7feb26e8573f4df9cd5daca;hp=6c4dd50e08b3879a26f90949e2d1958bd8314796;hb=5683dd25da56c66e0a5c86e770b8ee2188ad569c;hpb=e63a2837acfaf54c97a9db466bf485e9f7024fe8 diff --git a/src/dhcpv4.h b/src/dhcpv4.h index 6c4dd50..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 @@ -79,7 +80,8 @@ struct dhcpv4_assignment { time_t valid_until; uint8_t hwaddr[6]; uint32_t leasetime; - char hostname[]; + unsigned int flags; + char *hostname; }; struct dhcpv4_option {