Skip to content

Commit

Permalink
Add RTA_EXPIRES to if_copyrt
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinMcInnes authored Jan 9, 2025
1 parent 4526bb6 commit 1f4b9f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/if-linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,9 @@ if_copyrt(struct dhcpcd_ctx *ctx, struct rt *rt, struct nlmsghdr *nlm)
}
break;
}
case RTA_EXPIRES:
rt->rt_expires = *(unsigned int *)RTA_DATA(rta);
break;
}

if (sa != NULL) {
Expand Down

0 comments on commit 1f4b9f1

Please sign in to comment.