diff options
| author | Michael Biebl <biebl@debian.org> | 2025-07-15 08:31:24 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2025-07-15 08:31:24 +0200 |
| commit | 85ae5f778e2146123028aeb34f662564537855b1 (patch) | |
| tree | bae42b53b3b321ccb311ca71a7985b8452e6f0b7 /src/core/nm-connectivity.c | |
| parent | 3db8545981e5c548f6c63c2bb63a6a534911dbe9 (diff) | |
| parent | 582eb4472a0f3375042afb9026cbeb50e058a27d (diff) | |
Update upstream source from tag 'upstream/1.52.1'
Update to upstream version '1.52.1' with Debian dir e8d19eaaa879d6acb8da947d29d330f548024fe0
Diffstat (limited to 'src/core/nm-connectivity.c')
| -rw-r--r-- | src/core/nm-connectivity.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/nm-connectivity.c b/src/core/nm-connectivity.c index 22e6c0d5..2aa22331 100644 --- a/src/core/nm-connectivity.c +++ b/src/core/nm-connectivity.c @@ -25,6 +25,8 @@ #define HEADER_STATUS_ONLINE "X-NetworkManager-Status: online\r\n" +#define SD_RESOLVED_DNS ((guint64) (1LL << 0)) + /*****************************************************************************/ static NM_UTILS_LOOKUP_STR_DEFINE(_state_to_string, @@ -950,9 +952,6 @@ systemd_resolved_resolve_cb(GObject *object, GAsyncResult *res, gpointer user_da do_curl_request(cb_data, nm_str_buf_get_str(&strbuf_hosts)); } -#endif - -#define SD_RESOLVED_DNS ((guint64) (1LL << 0)) static NMConnectivityState check_platform_config(NMConnectivity *self, @@ -1013,6 +1012,7 @@ check_platform_config(NMConnectivity *self, NM_SET_OUT(reason, NULL); return NM_CONNECTIVITY_UNKNOWN; } +#endif NMConnectivityCheckHandle * nm_connectivity_check_start(NMConnectivity *self, |