diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-30 16:30:34 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-30 16:30:34 +0200 |
commit | edaf6c016f00547970133b026a63ffab620a7ad2 (patch) | |
tree | 7edc74977834c6372d928c4995aba5ffbf6afd9d /eigrpd/eigrpd.c | |
parent | babeld: Fix zclient cleanup on shutdown (diff) | |
download | frr-edaf6c016f00547970133b026a63ffab620a7ad2.tar.xz frr-edaf6c016f00547970133b026a63ffab620a7ad2.zip |
eigrpd: Fix zclient cleanup on shutdown
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r-- | eigrpd/eigrpd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eigrpd/eigrpd.c b/eigrpd/eigrpd.c index a0ead0522..2fa8296ce 100644 --- a/eigrpd/eigrpd.c +++ b/eigrpd/eigrpd.c @@ -267,8 +267,10 @@ eigrp_finish (struct eigrp *eigrp) && (listcount(eigrp_om->eigrp) == 0)) { if (zclient) - zclient_free (zclient); - + { + zclient_stop (zclient); + zclient_free (zclient); + } exit(0); } |