mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 10:18:03 +02:00
dhcp: add FIXME comment to nm-dhcp-helper.c
This commit is contained in:
parent
0fb723e720
commit
c6ac2310dc
1 changed files with 6 additions and 0 deletions
|
|
@ -136,6 +136,12 @@ main (int argc, char *argv[])
|
|||
|
||||
nm_g_type_init ();
|
||||
|
||||
/* FIXME: g_dbus_connection_new_for_address_sync() tries to connect to the socket in
|
||||
* non-blocking mode, which can easily fail with EAGAIN, causing the creation of the
|
||||
* socket to fail with "Could not connect: Resource temporarily unavailable".
|
||||
*
|
||||
* We should instead create the GIOStream ourself and block on connecting to
|
||||
* the socket. */
|
||||
connection = g_dbus_connection_new_for_address_sync ("unix:path=" NMRUNDIR "/private-dhcp",
|
||||
G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT,
|
||||
NULL, NULL, &error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue