From e6eee664723aa0e1d87eac65216cdf12636e3284 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 14 Nov 2010 07:00:55 +0100 Subject: Rename net_{get,find}2 to net_{get,find}_cast --- proto/static/static.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto') diff --git a/proto/static/static.c b/proto/static/static.c index e15a43b..07dafa3 100644 --- a/proto/static/static.c +++ b/proto/static/static.c @@ -56,7 +56,7 @@ static_install(struct proto *p, struct static_route *r, struct iface *ifa) a.iface = ifa; aa = rta_lookup(&a); - n = net_get2(p->table, r->net, r->masklen, r->cast); + n = net_get_cast(p->table, r->net, r->masklen, r->cast); e = rte_get_temp(aa); e->net = n; e->pflags = 0; @@ -73,7 +73,7 @@ static_remove(struct proto *p, struct static_route *r) return; DBG("Removing static route %I/%d%s\n", r->net, r->masklen, (r->cast == RTC_MULTICAST) ? ", multicast" : ""); - n = net_find2(p->table, r->net, r->masklen, r->cast); + n = net_find_cast(p->table, r->net, r->masklen, r->cast); if (n) rte_update(p->table, n, p, p, NULL); r->installed = 0; -- cgit v1.2.3