Skip to content

Commit

Permalink
encode "bool" types, too
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Feb 25, 2019
1 parent f605aca commit afceece
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/protocols/dhcpv4/encode.c
Expand Up @@ -109,6 +109,7 @@ static ssize_t encode_value(uint8_t *out, size_t outlen,
if (outlen < vp->vp_length) return -1; /* Not enough output buffer space. */

switch (tlv_stack[depth]->type) {
case FR_TYPE_BOOL:
case FR_TYPE_UINT8:
case FR_TYPE_UINT16:
case FR_TYPE_UINT32:
Expand Down

0 comments on commit afceece

Please sign in to comment.