diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 03:03:48 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 03:03:48 +0200 |
commit | b05a1c8b7530d3ee6d1ade6aace67eb8dc0046bc (patch) | |
tree | 20daba9ce7752e6acf2846670c77696b84d2659a /bgpd/bgp_damp.h | |
parent | This patch adds support for allowing BGP to create and bring up neighbor (diff) | |
download | frr-b05a1c8b7530d3ee6d1ade6aace67eb8dc0046bc.tar.xz frr-b05a1c8b7530d3ee6d1ade6aace67eb8dc0046bc.zip |
Add json output support for a few BGP show commands
Diffstat (limited to 'bgpd/bgp_damp.h')
-rw-r--r-- | bgpd/bgp_damp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bgpd/bgp_damp.h b/bgpd/bgp_damp.h index e1d319b56..9d4fcb332 100644 --- a/bgpd/bgp_damp.h +++ b/bgpd/bgp_damp.h @@ -21,6 +21,8 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #ifndef _QUAGGA_BGP_DAMP_H #define _QUAGGA_BGP_DAMP_H +#include <json/json.h> + /* Structure maintained on a per-route basis. */ struct bgp_damp_info { @@ -140,7 +142,7 @@ extern void bgp_damp_info_free (struct bgp_damp_info *, int); extern void bgp_damp_info_clean (void); extern int bgp_damp_decay (time_t, int); extern void bgp_config_write_damp (struct vty *); -extern void bgp_damp_info_vty (struct vty *, struct bgp_info *); +extern void bgp_damp_info_vty (struct vty *, struct bgp_info *, json_object *json_path); extern const char * bgp_damp_reuse_time_vty (struct vty *, struct bgp_info *, char *, size_t); |