diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-11-16 20:43:56 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-12-04 08:48:15 -0500 |
| commit | c0d638ab2f7f593eebd1c43b44d5d8531035e145 (patch) | |
| tree | ea47ed529cbd511e26603acb747f56c703a95424 /lib/command.c | |
| parent | 41647b79fb2aa3b80e85125f04acad6b30b0149b (diff) | |
bgpd: Only build json for community when needed
Building a communities json object every time is
both expensive and memory wasteful. Modify
code to only build the json object when needed.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
