diff options
author | Tom Gundersen <teg@jklm.no> | 2015-02-05 18:00:16 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-02-05 18:02:42 +0100 |
commit | 8f203c166ecb24f904a068f2d8f0c636c1511a8f (patch) | |
tree | 6f7908cf4920da042c2fa9ec2239c32c64bcf20c /src/network/networkd-manager.c | |
parent | 4852e15970ec652b823bf568b398f730be1fe1a5 (diff) |
networkd: move the connection to the bus out of manager_new (again)
This would otherwise make the tests fail as we cannot grab the bus name.
Diffstat (limited to 'src/network/networkd-manager.c')
-rw-r--r-- | src/network/networkd-manager.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index 02ab9f95ef..8dfe4377de 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -78,8 +78,6 @@ static int setup_default_address_pool(Manager *m) { return 0; } -int manager_connect_bus(Manager *m); - static int on_bus_retry(sd_event_source *s, usec_t usec, void *userdata) { Manager *m = userdata; @@ -437,10 +435,6 @@ int manager_new(Manager **ret) { if (r < 0) return r; - r = manager_connect_bus(m); - if (r < 0) - return r; - r = manager_connect_udev(m); if (r < 0) return r; |