Merge pull request #4652 from LabNConsulting/working/master/hook_unregister

bgp: add hook_unregister to bgp_dump_finish
This commit is contained in:
Quentin Young 2019-07-08 11:33:07 -04:00 committed by GitHub
commit 6dcd5d2a45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -877,4 +877,5 @@ void bgp_dump_finish(void)
stream_free(bgp_dump_obuf);
bgp_dump_obuf = NULL;
hook_unregister(bgp_packet_dump, bgp_dump_packet);
}