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_flowspec.c | |
| parent | e7d78d0f2ceab5d0c078961d0377265ddecf5e43 (diff) | |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_flowspec.c b/bgpd/bgp_flowspec.c index d53271e851..5db7e37089 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) { |
