summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_flowspec.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-03-07 18:54:09 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-03-30 14:01:06 +0200
commitd33fc23bf8d70bea0fabae541e127b4bdbc77a8d (patch)
treec482a09efcd7903df5d8a7f283dd08cf42d0a707 /bgpd/bgp_flowspec.c
parentvtysh: add flowspec address family cmd support (diff)
downloadfrr-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_flowspec.c')
-rw-r--r--bgpd/bgp_flowspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_flowspec.c b/bgpd/bgp_flowspec.c
index d53271e85..5db7e3708 100644
--- a/bgpd/bgp_flowspec.c
+++ b/bgpd/bgp_flowspec.c
@@ -156,7 +156,7 @@ int bgp_nlri_parse_flowspec(struct peer *peer, struct attr *attr,
p.u.prefix_flowspec.ptr,
p.u.prefix_flowspec.prefixlen,
return_string,
- NLRI_STRING_FORMAT_MIN);
+ NLRI_STRING_FORMAT_MIN, NULL);
snprintf(ec_string, BGP_FLOWSPEC_NLRI_STRING_MAX,
"EC{none}");
if (attr && attr->ecommunity) {