Skip to content

Commit 68deb69

Browse files
committed
DHCP: Remove a compile warning
1 parent 7c458d9 commit 68deb69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dhcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ struct rfc3396_ctx {
736736
* when the option overflows the boundary and another option
737737
* is created to hold the resta of the data.
738738
* Tested against Wireshark-4.4.1 */
739-
#define RFC3396_BOUNDARY UINT8_MAX
739+
#define RFC3396_BOUNDARY 255UL
740740
static ssize_t
741741
rfc3396_write(struct rfc3396_ctx *ctx, void *data, size_t len)
742742
{

0 commit comments

Comments
 (0)