-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bgpd: bmp, buffer size conf avoid calling bgp_bmp_get()
The bgp_bmp_get() call is not necessary if the buffer size limit of bmp is the default value. Reversely, the no form of the config command should not allocate an unnecessary bgpbmp structure. Fix this by controlling the passed value before doing the allocation. Signed-off-by: Philippe Guibert <[email protected]>
- Loading branch information
1 parent
d5fe649
commit 533edb8
Showing
1 changed file
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters