Skip to content

Commit

Permalink
zebra: change default mpls interface settings to auto mode
Browse files Browse the repository at this point in the history
Change the default MPLS setting per interface to auto mode.

Signed-off-by: Philippe Guibert <[email protected]>
  • Loading branch information
pguibert6WIND committed Dec 22, 2023
1 parent ae9924b commit 51b83d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ DEFINE_HOOK(zebra_if_config_wr, (struct vty * vty, struct interface *ifp),

DEFINE_MTYPE(ZEBRA, ZIF_DESC, "Intf desc");

FRR_CFG_DEFAULT_UINT8_T(ZEBRA_MPLS, { .val_uint8_t = IF_ZEBRA_DATA_UNSPEC },);
FRR_CFG_DEFAULT_UINT8_T(ZEBRA_MPLS, { .val_uint8_t = IF_ZEBRA_DATA_AUTO },);

static void if_down_del_nbr_connected(struct interface *ifp);

Expand Down

0 comments on commit 51b83d9

Please sign in to comment.