summaryrefslogtreecommitdiff
path: root/lib/json.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2021-07-27 22:29:43 -0300
committerRenato Westphal <renato@opensourcerouting.org>2021-11-23 14:27:25 -0300
commit2391833ecfaebbbc863234f22436c4570efe7ce8 (patch)
treea7c6dabbcde5e0733fcacc6d6b44ce07f15df209 /lib/json.c
parentdb58b09fea7b64453a243584aa0f8e0337767642 (diff)
bgpd: use void pointer to reduce code duplication
There's no need to have different calls to bgp_show() when the only difference is one argument that corresponds to a "void *" parameter. Code duplication should be reduced to a minimum to avoid bugs like the one fixed in the previous commit. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions