diff options
| author | Michael Biebl <biebl@debian.org> | 2025-07-15 08:31:19 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2025-07-15 08:31:19 +0200 |
| commit | 582eb4472a0f3375042afb9026cbeb50e058a27d (patch) | |
| tree | 65f78da0c024c43e669c6a9c23402e59b28a01ef /src/core/nm-connectivity.c | |
| parent | 625e8ce60e826bde943487b8238884a9232e4562 (diff) | |
New upstream version 1.52.1 upstream/1.52.1
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, |