diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-08-11 12:09:15 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-08-11 12:09:15 +0300 |
| commit | 15bc6a40d3bf86bec574244ce89150a73774dd80 (patch) | |
| tree | 1124f81338f73314824e44fd5ae73e2120ba7c5a /bgpd/bgp_community_alias.h | |
| parent | 854571290b6dd1b3924e8b88ba7425931008fb5a (diff) | |
bgpd: fix memory leaks in bgp_alias2community_str
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'bgpd/bgp_community_alias.h')
| -rw-r--r-- | bgpd/bgp_community_alias.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_community_alias.h b/bgpd/bgp_community_alias.h index fc9eb9f9e4..57cde0ad44 100644 --- a/bgpd/bgp_community_alias.h +++ b/bgpd/bgp_community_alias.h @@ -43,7 +43,7 @@ extern void bgp_ca_alias_delete(struct community_alias *ca); extern int bgp_community_alias_write(struct vty *vty); extern const char *bgp_community2alias(char *community); extern const char *bgp_alias2community(char *alias); -extern const char *bgp_alias2community_str(const char *str); +extern char *bgp_alias2community_str(const char *str); extern void bgp_community_alias_command_completion_setup(void); #endif /* FRR_BGP_COMMUNITY_ALIAS_H */ |
