summaryrefslogtreecommitdiffstats
path: root/src/network/test-network.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-09-29 09:44:41 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-10-06 19:39:13 +0200
commit446aaaf35fa4c6067874430522089712ba0ff394 (patch)
treede5be669d2c57e84f92dca59ab044eee65f64c1e /src/network/test-network.c
parentnetwork: specify all known attributes when removing routing policy rules (diff)
downloadsystemd-446aaaf35fa4c6067874430522089712ba0ff394.tar.xz
systemd-446aaaf35fa4c6067874430522089712ba0ff394.zip
network: introduce helper function to enumerate information using netlink
Diffstat (limited to 'src/network/test-network.c')
-rw-r--r--src/network/test-network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/test-network.c b/src/network/test-network.c
index 2ac47e72f5..eeb756ca04 100644
--- a/src/network/test-network.c
+++ b/src/network/test-network.c
@@ -252,6 +252,6 @@ int main(void) {
test_network_get(manager, loopback);
- assert_se(manager_rtnl_enumerate_links(manager) >= 0);
+ assert_se(manager_enumerate(manager) >= 0);
return 0;
}