diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-05-02 16:57:03 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-05-02 17:41:35 -0400 |
| commit | 045207e27cef9da81672f2906be9067e4a880568 (patch) | |
| tree | 2d96c506ee683a4cb73cd8efbb15fe7b283b01df /lib/json.c | |
| parent | 66355cf9eb378868a2357bb807700c607537309d (diff) | |
zebra: Use built in list handler for route entries now
The route entry code was using a custom linked list to handle
route entries. Remove and replace with the new lib link list
code. This reduces the size of the route entry by a further
8 bytes.
Observant people will notice that the current linked list
implementation is singly linked, while the Route Entry
is doubly linked. I am not terribly concerned about this
change as that 1) we do not see a large number of route
entries per prefix( say 2 maybe 3 items ) and route entries
do not come and go that often.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions
