diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-03-07 18:54:09 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-03-30 14:01:06 +0200 |
commit | d33fc23bf8d70bea0fabae541e127b4bdbc77a8d (patch) | |
tree | c482a09efcd7903df5d8a7f283dd08cf42d0a707 /bgpd/bgp_debug.c | |
parent | vtysh: add flowspec address family cmd support (diff) | |
download | frr-d33fc23bf8d70bea0fabae541e127b4bdbc77a8d.tar.xz frr-d33fc23bf8d70bea0fabae541e127b4bdbc77a8d.zip |
bgpd: support for json in show bgp ipv4 flowspec commands
The json format is returd when requested from the two commands:
- show bgp ipv4 flowspec
- show bgp ipv4 flowspec detail
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_debug.c')
-rw-r--r-- | bgpd/bgp_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c index 880102831..ae4ff5d67 100644 --- a/bgpd/bgp_debug.c +++ b/bgpd/bgp_debug.c @@ -2223,7 +2223,7 @@ const char *bgp_debug_rdpfxpath2str(afi_t afi, safi_t safi, bgp_fs_nlri_get_string((unsigned char *)fs->prefix.ptr, fs->prefix.prefixlen, return_string, - NLRI_STRING_FORMAT_DEBUG); + NLRI_STRING_FORMAT_DEBUG, NULL); snprintf(str, size, "FS %s Match{%s}", afi2str(afi), return_string); } else |