Skip to content

Commit a16c625

Browse files
authored
Fix fallback_time option (#562)
Fallback time option was updating request_time instead of fallback_time. Resolves #561
1 parent 9c48f4c commit a16c625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/if-options.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2546,7 +2546,7 @@ parse_option(struct dhcpcd_ctx *ctx, const char *ifname, struct if_options *ifo,
25462546
#ifdef INET
25472547
case O_FALLBACK_TIME:
25482548
ARG_REQUIRED;
2549-
ifo->request_time =
2549+
ifo->fallback_time =
25502550
(uint32_t)strtou(arg, NULL, 0, 0, UINT32_MAX, &e);
25512551
if (e) {
25522552
logerrx("invalid fallback time: %s", arg);

0 commit comments

Comments
 (0)