aboutsummaryrefslogtreecommitdiff
path: root/lib/route-table.c
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-09-15 11:23:08 -0700
committerEthan Jackson <ethan@nicira.com>2011-09-16 11:22:30 -0700
commit18a237816419e6f88ab0383b43d8060914d26a9a (patch)
tree4db49a77f8c2a47cde1f1d4ca1f9a6f6b05fdc35 /lib/route-table.c
parentc3b07057fd7f02b4e6bb006bcecff8683237778e (diff)
notifiers: Rename run and wait functions.
It makes more sense to call nln_notifier_run() and nln_notifier_wait() simply nln_run() and nln_wait() since they don't operate on notifiers but the entire nln object. This patch changes the nln and the rtnetlink-link modules to the new convention.
Diffstat (limited to 'lib/route-table.c')
-rw-r--r--lib/route-table.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/route-table.c b/lib/route-table.c
index de335f57..c8245dfd 100644
--- a/lib/route-table.c
+++ b/lib/route-table.c
@@ -199,8 +199,8 @@ void
route_table_run(void)
{
if (nln) {
- rtnetlink_link_notifier_run();
- nln_notifier_run(nln);
+ rtnetlink_link_run();
+ nln_run(nln);
}
}
@@ -209,8 +209,8 @@ void
route_table_wait(void)
{
if (nln) {
- rtnetlink_link_notifier_wait();
- nln_notifier_wait(nln);
+ rtnetlink_link_wait();
+ nln_wait(nln);
}
}