summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-11-16 20:43:56 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-12-04 08:48:15 -0500
commitc0d638ab2f7f593eebd1c43b44d5d8531035e145 (patch)
treeea47ed529cbd511e26603acb747f56c703a95424 /lib/command.c
parent41647b79fb2aa3b80e85125f04acad6b30b0149b (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