diff options
author | Dainis Jonitis <dainis.jonitis@ubnt.com> | 2018-11-26 14:36:28 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-05-02 11:25:51 +0200 |
commit | 4a600ce5b1f3f2d877ad68ce0cc199a122d30abd (patch) | |
tree | e398fcc86ff08e1094efc5a91a97326045c1f166 /src/odhcpd.h | |
parent | 09e5eca32c1872c1676c25dfd3f240b10bc85d55 (diff) |
dhcpv4: add support for Parameter Request List option 55
Add client "reqopts" in ubus "ipv4leases" output.
Signed-off-by: Roman Yeryomin <roman.yeryomin@ubnt.com>
Signed-off-by: Dainis Jonitis <dainis.jonitis@ubnt.com>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r-- | src/odhcpd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h index 97d2113..9535e75 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -189,6 +189,7 @@ struct dhcp_assignment { unsigned int flags; uint32_t leasetime; char *hostname; + char *reqopts; #define hwaddr mac uint8_t mac[6]; @@ -318,6 +319,7 @@ inline static void free_assignment(struct dhcp_assignment *a) a->dhcp_free_cb(a); free(a->hostname); + free(a->reqopts); free(a); } |