Skip to content

Commit

Permalink
DHCP6: Fix INFO_REFRESH_TIME option
Browse files Browse the repository at this point in the history
Fixes #329 thanks to jvfranklin.
  • Loading branch information
rsmarples committed Sep 5, 2024
1 parent 72a2628 commit 4f96487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dhcp6.c
Original file line number Diff line number Diff line change
Expand Up @@ -3119,7 +3119,7 @@ dhcp6_bind(struct interface *ifp, const char *op, const char *sfrom)

if (state->reason == NULL)
state->reason = "INFORM6";
o = dhcp6_findmoption(state->new, state->new_len,
o = dhcp6_findmoption(state->recv, state->recv_len,
D6_OPTION_INFO_REFRESH_TIME, &ol);
if (o == NULL || ol != sizeof(uint32_t))
state->renew = IRT_DEFAULT;
Expand Down

0 comments on commit 4f96487

Please sign in to comment.