mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 15:00:25 +01:00
fixup! cloud-setup: parse OCI metadata related to VLAN config
nm-code-format
This commit is contained in:
parent
0728a79194
commit
cf18e2f677
2 changed files with 2 additions and 2 deletions
|
|
@ -128,7 +128,7 @@ _get_config_done_cb(GObject *source, GAsyncResult *result, gpointer user_data)
|
|||
for (i = 0; i < json_array_size(vnics); i++) {
|
||||
json_t *vnic, *field;
|
||||
const char *vnic_id = "", *val;
|
||||
gs_free char *mac = NULL;
|
||||
gs_free char *mac = NULL;
|
||||
in_addr_t addr;
|
||||
int prefix;
|
||||
json_int_t nic_index = -1, vlan_tag = -1;
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ nmcs_provider_get_config_iface_data_create(NMCSProviderGetConfigTaskData *get_co
|
|||
.has_primary_ip_address = FALSE,
|
||||
};
|
||||
} else if (G_OBJECT_TYPE(get_config_data->self) == nmcs_provider_oci_get_type()) {
|
||||
iface_data->priv.oci = (typeof(iface_data->priv.oci)){
|
||||
iface_data->priv.oci = (typeof(iface_data->priv.oci)) {
|
||||
.vlan_tag = 0,
|
||||
.parent_hwaddr = NULL,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue