diff options
author | Thomas Graf <tgr@lsx.localdomain> | 2008-05-05 15:09:25 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@lsx.localdomain> | 2008-05-05 15:09:25 (GMT) |
commit | 85808860b6174aecc901c34c90968911ad013280 (patch) | |
tree | 50b656a80afe3daa422c94ece74552fae74c5b03 /src/nl-route-add.c | |
parent | 861901c55bd9e2f84e7c8de0da5ea6179867907d (diff) | |
download | libnl-85808860b6174aecc901c34c90968911ad013280.zip libnl-85808860b6174aecc901c34c90968911ad013280.tar.gz libnl-85808860b6174aecc901c34c90968911ad013280.tar.bz2 |
Route cache support
This changesets adds the possibility to fill a nl_cache with
the contents of the route cache. It also adds the possibility
to limit route caches to certain address families.
Diffstat (limited to 'src/nl-route-add.c')
-rw-r--r-- | src/nl-route-add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nl-route-add.c b/src/nl-route-add.c index 4895747..f411b30 100644 --- a/src/nl-route-add.c +++ b/src/nl-route-add.c @@ -66,7 +66,7 @@ int main(int argc, char *argv[]) nlh = nltool_alloc_handle(); nltool_connect(nlh, NETLINK_ROUTE); link_cache = nltool_alloc_link_cache(nlh); - route_cache = nltool_alloc_route_cache(nlh); + route_cache = nltool_alloc_route_cache(nlh, 0); route = rtnl_route_alloc(); if (!route) |