diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-11-16 19:41:58 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-12-04 08:40:10 -0500 |
| commit | 41647b79fb2aa3b80e85125f04acad6b30b0149b (patch) | |
| tree | 9b39b9f99f14734612dfa64c1d66898ae6d36c79 /lib/command.c | |
| parent | 59c198ab378c964808f815b5e255e33b0bf52334 (diff) | |
bgpd: Only create json for aspath if needed
The creation of the json object for the aspath
is both memory intensive and expensive to
create. Only create the json object when
it is needed and stash it for further usage
at that point.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
