diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-11-14 07:00:55 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-11-14 07:00:55 +0100 |
commit | e6eee664723aa0e1d87eac65216cdf12636e3284 (patch) | |
tree | 4fe66fd531b53235fef9e63694fda50dd32f2204 /proto/static | |
parent | 2ef9177a47e7137dd09b06a353a6e5f6e671c951 (diff) | |
download | bird-e6eee664723aa0e1d87eac65216cdf12636e3284.tar bird-e6eee664723aa0e1d87eac65216cdf12636e3284.zip |
Rename net_{get,find}2 to net_{get,find}_cast
Diffstat (limited to 'proto/static')
-rw-r--r-- | proto/static/static.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |