summaryrefslogtreecommitdiff
path: root/src/network/networkd-route.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-09-24 15:25:20 +0200
committerTom Gundersen <teg@jklm.no>2015-10-11 15:04:16 +0200
commit91b5f997316ddc77d26f9a7a5e24c335484586bd (patch)
tree7606f8766ebefe32a39329c89713074c0bdfd5a8 /src/network/networkd-route.c
parent054f0db48775d566e4f55feb7cda0f721a9eb485 (diff)
networkd: make address_{establish,release}() static
No need to expose these functions, but rather call them from address_{add,drop}.
Diffstat (limited to 'src/network/networkd-route.c')
-rw-r--r--src/network/networkd-route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c
index 28ce126849..1c8302ffaa 100644
--- a/src/network/networkd-route.c
+++ b/src/network/networkd-route.c
@@ -93,7 +93,7 @@ void route_free(Route *route) {
free(route);
}
-int route_drop(Route *route, Link *link,
+int route_remove(Route *route, Link *link,
sd_netlink_message_handler_t callback) {
_cleanup_netlink_message_unref_ sd_netlink_message *req = NULL;
int r;