Skip to content

Commit

Permalink
zebra: convert interface configuration output to NB
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Ryzhov <[email protected]>
  • Loading branch information
idryzhov committed Jan 24, 2024
1 parent 6a1ab93 commit 3bc52df
Show file tree
Hide file tree
Showing 11 changed files with 733 additions and 334 deletions.
373 changes: 225 additions & 148 deletions zebra/interface.c

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions zebra/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,6 @@ struct zebra_if {

DECLARE_HOOK(zebra_if_extra_info, (struct vty * vty, struct interface *ifp),
(vty, ifp));
DECLARE_HOOK(zebra_if_config_wr, (struct vty * vty, struct interface *ifp),
(vty, ifp));

#define IS_ZEBRA_IF_VRF(ifp) \
(((struct zebra_if *)(ifp->info))->zif_type == ZEBRA_IF_VRF)
Expand Down
1 change: 0 additions & 1 deletion zebra/irdp_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,6 @@ DEFUN (ip_irdp_debug_disable,

void irdp_if_init(void)
{
hook_register(zebra_if_config_wr, irdp_config_write);
hook_register(if_del, irdp_if_delete);

install_element(INTERFACE_NODE, &ip_irdp_broadcast_cmd);
Expand Down
Loading

0 comments on commit 3bc52df

Please sign in to comment.