odhcpd: display correct default log level in usage text
[project/odhcpd.git] / src / dhcpv4.h
index 6c4dd50..4d14f09 100644 (file)
@@ -1,5 +1,6 @@
 /**
  *   Copyright (C) 2012 Steven Barth <steven@midlink.org>
+ *   Copyright (C) 2016 Hans Dedecker <dedeckeh@gmail.com>
  *
  *   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 {