diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2021-08-02 15:38:26 -0300 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2021-08-02 17:19:45 -0300 | 
| commit | c15dc24f79c97c670dd2114621ae9f6236b13348 (patch) | |
| tree | 43462ba34fdbadbaf0a214cf8d45dcab68844ac2 /zebra/zebra_ptm.h | |
| parent | 856ed18ae9c4286ee788b733f494230d742eed6d (diff) | |
zebra: add "json" option to "show interface"
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_ptm.h')
| -rw-r--r-- | zebra/zebra_ptm.h | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_ptm.h b/zebra/zebra_ptm.h index e578a02a94..88c9bccb44 100644 --- a/zebra/zebra_ptm.h +++ b/zebra/zebra_ptm.h @@ -86,7 +86,8 @@ void zebra_ptm_bfd_client_register(ZAPI_HANDLER_ARGS);  void zebra_ptm_bfd_dst_replay(ZAPI_HANDLER_ARGS);  #endif /* HAVE_BFDD */ -void zebra_ptm_show_status(struct vty *vty, struct interface *ifp); +void zebra_ptm_show_status(struct vty *vty, json_object *json, +			   struct interface *ifp);  void zebra_ptm_if_init(struct zebra_if *zebra_ifp);  void zebra_ptm_if_set_ptm_state(struct interface *ifp,  				struct zebra_if *zebra_ifp);  | 
