Summary:
Assign the netwask correctly from the message.
Fixes T122.
Test Plan: Test dhcpcd using the Classless Static Routes DHCP option.
Reviewers: c_14
Reviewed By: c_14
Maniphest Tasks: T122
Differential Revision: https://dev.marples.name/D116
}
sa_in_init(&rt->rt_dest, &dest);
- sa_in_init(&rt->rt_dest, &netmask);
+ sa_in_init(&rt->rt_netmask, &netmask);
sa_in_init(&rt->rt_gateway, &gateway);
/* If CIDR is 32 then it's a host route. */