mirror of
https://github.com/NetworkConfiguration/dhcpcd.git
synced 2026-01-26 14:13:26 +00:00
illumos: always mark routes as static
Otherwise in.routed will delete the default route on OmniOS!
This commit is contained in:
parent
cebeec0887
commit
7c458d9926
@ -601,8 +601,8 @@ if_route0(struct dhcpcd_ctx *ctx, struct rtm *rtmsg,
|
||||
else if (!gateway_unspec)
|
||||
rtm->rtm_flags |= RTF_GATEWAY;
|
||||
|
||||
if (rt->rt_dflags & RTDF_STATIC)
|
||||
rtm->rtm_flags |= RTF_STATIC;
|
||||
/* Make static so that in.routed does not delete it */
|
||||
rtm->rtm_flags |= RTF_STATIC;
|
||||
|
||||
if (rt->rt_mtu != 0) {
|
||||
rtm->rtm_inits |= RTV_MTU;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user