summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-03-05 00:28:36 +0000
committerRoy Marples <roy@marples.name>2019-03-05 00:28:36 +0000
commit59823748fea1b64f0a34125fd5a0591a34029600 (patch)
tree25a23bc0321843a3138530c57418bb433a55226f /src/if.h
parentf1ea704ea8b1fec41299b04b40fb6ee17151299c (diff)
downloaddhcpcd-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if.h b/src/if.h
index 1aac439b..0abde5b3 100644
--- a/src/if.h
+++ b/src/if.h
@@ -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 *);