diff options
| author | Roy Marples <roy@marples.name> | 2019-03-05 00:28:36 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-03-05 00:28:36 +0000 |
| commit | 59823748fea1b64f0a34125fd5a0591a34029600 (patch) | |
| tree | 25a23bc0321843a3138530c57418bb433a55226f /src/if.h | |
| parent | f1ea704ea8b1fec41299b04b40fb6ee17151299c (diff) | |
| download | dhcpcd-59823748fea1b64f0a34125fd5a0591a34029600.tar.xz | |
route: Remove kroutes and make froutes optional
This is an attempt to reduce the memory dhcpcd uses.
By removing kroutes and froutes from global context.
kroutes are generated at the start of rt_build and freed at
the end.
Diffstat (limited to 'src/if.h')
| -rw-r--r-- | src/if.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -178,7 +178,7 @@ int if_handlelink(struct dhcpcd_ctx *); #endif int if_route(unsigned char, const struct rt *rt); -int if_initrt(struct dhcpcd_ctx *, int); +int if_initrt(struct dhcpcd_ctx *, rb_tree_t *, int); #ifdef INET int if_address(unsigned char, const struct ipv4_addr *); |
