Skip to content

Commit

Permalink
ospf: fixed disable mpls-te inter-as support
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitrii Turlupov <dturlupov@factor-ts.ru>
  • Loading branch information
Dmitrii Turlupov committed Sep 20, 2018
1 parent dc790ba commit 006260e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ospfd/ospf_te.c
Original file line number Diff line number Diff line change
Expand Up @@ -2402,7 +2402,6 @@ DEFUN (no_ospf_mpls_te_inter_as,
zlog_debug("MPLS-TE: Inter-AS support OFF");

if ((OspfMplsTE.enabled) && (OspfMplsTE.inter_as != Off)) {
OspfMplsTE.inter_as = Off;
/* Flush all Inter-AS LSA */
for (ALL_LIST_ELEMENTS(OspfMplsTE.iflist, node, nnode, lp))
if (IS_INTER_AS(lp->type)
Expand All @@ -2412,6 +2411,7 @@ DEFUN (no_ospf_mpls_te_inter_as,

/* Deregister the Callbacks for Inter-AS suport */
ospf_mpls_te_unregister();
OspfMplsTE.inter_as = Off;

return CMD_SUCCESS;
}
Expand Down

0 comments on commit 006260e

Please sign in to comment.