diff options
| author | Michael Biebl <biebl@debian.org> | 2020-06-29 22:16:54 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2020-06-29 22:16:54 +0200 |
| commit | 238d328f69e0f4b838f361d7ddac1d6134bfd631 (patch) | |
| tree | 411ff73bb36d725e3a337d2fddbccc7b074622e0 /clients/cloud-setup/nmcs-provider.h | |
| parent | e8d426c51e83b8465f9be527fd014f51443f829d (diff) | |
| parent | 10ae7d8cd706062742d0cdb1803d49909aef9e06 (diff) | |
Update upstream source from tag 'upstream/1.25.91'
Update to upstream version '1.25.91' with Debian dir 82448cadc1dd251ffbe44b7c339cadeb55eb776b
Diffstat (limited to 'clients/cloud-setup/nmcs-provider.h')
| -rw-r--r-- | clients/cloud-setup/nmcs-provider.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/clients/cloud-setup/nmcs-provider.h b/clients/cloud-setup/nmcs-provider.h index e5a44da1..e5950f93 100644 --- a/clients/cloud-setup/nmcs-provider.h +++ b/clients/cloud-setup/nmcs-provider.h @@ -18,6 +18,9 @@ typedef struct { bool has_ipv4s:1; bool has_cidr:1; + NMIPRoute **iproutes_arr; + gsize iproutes_len; + /* TRUE, if the configuration was requested via hwaddrs argument to * nmcs_provider_get_config(). */ bool was_requested:1; @@ -29,8 +32,9 @@ nmcs_provider_get_config_iface_data_is_valid (const NMCSProviderGetConfigIfaceDa { return config_data && config_data->iface_idx >= 0 - && config_data->has_cidr - && config_data->has_ipv4s; + && ( ( config_data->has_ipv4s + && config_data->has_cidr) + || config_data->iproutes_len); } NMCSProviderGetConfigIfaceData *nmcs_provider_get_config_iface_data_new (gboolean was_requested); |