diff options
Diffstat (limited to 'bgpd/bgp_community.h')
-rw-r--r-- | bgpd/bgp_community.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bgpd/bgp_community.h b/bgpd/bgp_community.h index c73dab304..257f7767b 100644 --- a/bgpd/bgp_community.h +++ b/bgpd/bgp_community.h @@ -21,6 +21,8 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #ifndef _QUAGGA_BGP_COMMUNITY_H #define _QUAGGA_BGP_COMMUNITY_H +#include "lib/json.h" + /* Communities attribute. */ struct community { @@ -33,6 +35,9 @@ struct community /* Communities value. */ u_int32_t *val; + /* Communities as a json object */ + json_object *json; + /* String of community attribute. This sring is used by vty output and expanded community-list for regular expression match. */ char *str; |