diff options
| author | vishaldhingra <vdhingra@vmware.com> | 2019-05-05 23:09:08 -0700 | 
|---|---|---|
| committer | vishaldhingra <vdhingra@vmware.com> | 2019-06-19 04:37:51 -0700 | 
| commit | f84639988e8acbf6180ba00844f5955dc241b289 (patch) | |
| tree | f65a522a6e9b86bdc9075a8d2734c78ddfec89a2 /bgpd/bgp_clist.h | |
| parent | 3e461df2eaaa1d293128ffeb7abfde4f7b023845 (diff) | |
bgpd : Support for exact-match in match clause for lcommunity
FRR has a provision to give exact-match in match clause for
standard community, but this option is missing for lcommunity.
Part 1 : Added support in clist lib
Signed-off-by: vishaldhingra <vdhingra@vmware.com>
Diffstat (limited to 'bgpd/bgp_clist.h')
| -rw-r--r-- | bgpd/bgp_clist.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_clist.h b/bgpd/bgp_clist.h index 75a31611ba..87b29ac3be 100644 --- a/bgpd/bgp_clist.h +++ b/bgpd/bgp_clist.h @@ -165,6 +165,8 @@ extern int ecommunity_list_match(struct ecommunity *, struct community_list *);  extern int lcommunity_list_match(struct lcommunity *, struct community_list *);  extern int community_list_exact_match(struct community *,  				      struct community_list *); +extern int lcommunity_list_exact_match(struct lcommunity *lcom, +				       struct community_list *list);  extern struct community *community_list_match_delete(struct community *,  						     struct community_list *);  extern struct lcommunity *  | 
