summaryrefslogtreecommitdiff
path: root/bgpd/bgp_flowspec_util.h
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_util.h
parente7d78d0f2ceab5d0c078961d0377265ddecf5e43 (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_util.h')
-rw-r--r--bgpd/bgp_flowspec_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_flowspec_util.h b/bgpd/bgp_flowspec_util.h
index 55a464a718..5d262dbbc7 100644
--- a/bgpd/bgp_flowspec_util.h
+++ b/bgpd/bgp_flowspec_util.h
@@ -26,7 +26,8 @@
enum bgp_flowspec_util_nlri_t {
BGP_FLOWSPEC_VALIDATE_ONLY = 0,
BGP_FLOWSPEC_RETURN_STRING = 1,
- BGP_FLOWSPEC_CONVERT_TO_NON_OPAQUE = 2
+ BGP_FLOWSPEC_CONVERT_TO_NON_OPAQUE = 2,
+ BGP_FLOWSPEC_RETURN_JSON = 3,
};