contrib/dhcpcd/src/dhcp.c
/* Grab our routers from the DHCP message and apply any MTU value
 * the message contains */
Grab our routers from the DHCP message and apply any MTU value
the message contains
Grab our routers from the DHCP message and apply any MTU value the message contains
int
dhcp_get_routes(rb_tree_t *routes, struct interface *ifp)
{
	const struct dhcp_state *state;
	if ((state = D_CSTATE(ifp)) == NULL || !(state->added & STATE_ADDED))
		return 0;
	return get_option_routes(routes, ifp, state->new, state->new_len);
}
int dhcp_get_routes ( rb_tree_t * routes , struct interface * ifp ) { const struct dhcp_state * state ; if ( ( state = D_CSTATE ( ifp ) ) == NULL || ! ( state -> added & STATE_ADDED ) ) return 0 ; return get_option_routes ( routes , ifp , state -> new , state -> new_len ) ; }
Grab our routers from the DHCP message and apply any MTU value
 the message contains
Grab our routers from the DHCP message and apply any MTU value the message contains