diff options
author | Tom Gundersen <teg@jklm.no> | 2014-04-15 14:21:44 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-04-19 18:41:58 +0200 |
commit | 505f8da7325591defe5f751f328bd26915267602 (patch) | |
tree | 5f4ff2ad396ab7666ac45ed2e1a9f3ff1f13b62b /src/network/networkd.c | |
parent | d1ca51b153d7854d49400289ddedc7d493458f71 (diff) |
networkd: tie links to rtnl rather than udev
This essentially swaps the roles of rtnl and udev in networkd. After this
change libudev is only used for waiting for udev to initialize devices and
to get udev-specific information needed for some [Match] attributes.
This in particular simplifies the code in containers where udev is not really
useful, but also simplifies things and reduces round-trips in the non-container
case.
Diffstat (limited to 'src/network/networkd.c')
-rw-r--r-- | src/network/networkd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd.c b/src/network/networkd.c index f0e6ad5201..6b3bf12a4c 100644 --- a/src/network/networkd.c +++ b/src/network/networkd.c @@ -87,7 +87,7 @@ int main(int argc, char *argv[]) { goto out; } - r = manager_udev_enumerate_links(m); + r = manager_rtnl_enumerate_links(m); if (r < 0) { log_error("Could not enumerate links: %s", strerror(-r)); goto out; |