summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-04-24 20:14:19 +0200
committerDavid Lamparter <equinox@diac24.net>2019-07-03 16:50:36 +0200
commit1a1f453436e912da77efe0f33d8651bead0a611b (patch)
tree3586ec41a91319ef949e650c0105cd326898967d /lib/command.c
parent611349b99f64a9e39e9889a46ca3dde60f68484e (diff)
bgpd: fix last_reset_cause setup
last_reset_cause_size is the length *used* in last_reset_cause[]. It's straight up used wrong here; we're saving off a reset cause and need to check against the *available* size in last_reset_cause[]. This could actually have led to (hopefully rare) crashes in the assert there, since the assert condition might fail incorrectly. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions