Skip to content

Commit

Permalink
DHCP: Remove a compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmarples committed Feb 12, 2025
1 parent 7c458d9 commit 68deb69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dhcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ struct rfc3396_ctx {
* when the option overflows the boundary and another option
* is created to hold the resta of the data.
* Tested against Wireshark-4.4.1 */
#define RFC3396_BOUNDARY UINT8_MAX
#define RFC3396_BOUNDARY 255UL
static ssize_t
rfc3396_write(struct rfc3396_ctx *ctx, void *data, size_t len)
{
Expand Down

0 comments on commit 68deb69

Please sign in to comment.