diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-28 12:39:22 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-28 12:41:00 -0400 |
| commit | 66c28560bac4035a92ea992f531b1d8e5250fab7 (patch) | |
| tree | 2042ea20641dd7ef83d9e33fa57f11e2042407de /lib/northbound_cli.c | |
| parent | 612fcc5e8f33249929c3e9130885b9f2f6420532 (diff) | |
zebra: set NHG/backup NHG pointers on success zapi read
Only set the NHG/backup NHG pointers of the caller if the read
of the nexthops was successfull. Otherwise, we might free when not
neccessary or double free.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/northbound_cli.c')
0 files changed, 0 insertions, 0 deletions
