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