diff options
| author | saravanank <saravanank@vmware.com> | 2020-03-23 20:33:40 -0700 |
|---|---|---|
| committer | saravanank <saravanank@vmware.com> | 2020-03-24 00:24:56 -0700 |
| commit | 93a5bc80228fecbf0293b6b0c9661008c031eb59 (patch) | |
| tree | 9b537d1a19af83d5def3821e0fd4e506e64bb35d /lib/json.c | |
| parent | 7f2ccbe562cae49fb8bf1770a0ec79b701ee41af (diff) | |
pimd: increase buffer size for prefix str while printing bsrp-info
Problem: output is cut short when prefix string all octets are 3 digit.
RCA: Buffer was allocated only to hold ip addr str.
Fix: Added 3 bytes more to hold prefix length and a /.
Modified buffer in 'show ip pim bsrp-info' and 'show ip pim bsm database'
Signed-off-by: Saravanan K <saravanank@vmware.com>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions
