mirror of
https://github.com/systemd/systemd.git
synced 2026-08-12 12:16:06 +00:00
machine: Fix cid passed to machine_add_from_params()
The default value is VMADDR_CID_ANY, not zero.
This commit is contained in:
committed by
Daan De Meyer
parent
1e6854e112
commit
b6bdd540f9
@@ -480,7 +480,7 @@ static int method_create_or_register_machine(
|
||||
root_directory,
|
||||
netif,
|
||||
n_netif,
|
||||
/* cid= */ 0,
|
||||
/* cid= */ VMADDR_CID_ANY,
|
||||
/* ssh_address= */ NULL,
|
||||
/* ssh_private_key_path= */ NULL,
|
||||
ret,
|
||||
|
||||
Reference in New Issue
Block a user