I suggest applying the attached patch.
--- dhcp.c 2019-07-30 00:00:00.000000000 +0000
+++ dhcp.c 2019-08-12 00:00:00.000000000 +0000
@@ -1263,7 +1263,8 @@ static void buildRequest(struct bootpReq
addClientIdentifier(flags, req);
- aShort = ntohs(sizeof(struct bootpRequest));
+ aShort = htons(sizeof(struct iphdr) + sizeof(struct udphdr) +
+ sizeof(struct bootpRequest));
addVendorCode(req, DHCP_OPTION_MAXSIZE, 2, &aShort);
numOptions = 0;

