mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
fixup! fixup! fixup! fixup! Flock: now linker errors
This commit is contained in:
parent
f7e417a86a
commit
5a9ab39ee8
12
flock/ctl.c
12
flock/ctl.c
@ -219,16 +219,10 @@ hcs_parse(struct cbor_channel *cch, enum cbor_parse_result res)
|
|||||||
htx->major_state = ~0ULL;
|
htx->major_state = ~0ULL;
|
||||||
return CPR_BLOCK_END;
|
return CPR_BLOCK_END;
|
||||||
|
|
||||||
case 1:
|
case 3:
|
||||||
htx->major_state = 0;
|
htx->major_state = 0;
|
||||||
return CPR_MORE;
|
return CPR_MORE;
|
||||||
|
|
||||||
case 5:
|
|
||||||
/* Finalize the command to exec in hypervisor */
|
|
||||||
CBOR_PARSER_ERROR("NOT IMPLEMENTED YET");
|
|
||||||
htx->major_state = 1;
|
|
||||||
return CPR_MORE;
|
|
||||||
|
|
||||||
case 501:
|
case 501:
|
||||||
switch (hpc->cfg.cf.type)
|
switch (hpc->cfg.cf.type)
|
||||||
{
|
{
|
||||||
@ -238,7 +232,7 @@ hcs_parse(struct cbor_channel *cch, enum cbor_parse_result res)
|
|||||||
default:
|
default:
|
||||||
CBOR_PARSER_ERROR("Unknown machine type: %d", hpc->cfg.cf.type);
|
CBOR_PARSER_ERROR("Unknown machine type: %d", hpc->cfg.cf.type);
|
||||||
}
|
}
|
||||||
htx->major_state = 1;
|
htx->major_state = 3;
|
||||||
return CPR_MORE;
|
return CPR_MORE;
|
||||||
|
|
||||||
case 601:
|
case 601:
|
||||||
@ -250,7 +244,7 @@ hcs_parse(struct cbor_channel *cch, enum cbor_parse_result res)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
hypervisor_container_shutdown(&hpc->cch, &hpc->cfg.container);
|
hypervisor_container_shutdown(&hpc->cch, &hpc->cfg.container);
|
||||||
htx->major_state = 1;
|
htx->major_state = 3;
|
||||||
return CPR_MORE;
|
return CPR_MORE;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user