summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-01-19 17:49:52 +0100
committerIgor Ryzhov <iryzhov@nfware.com>2024-01-28 22:28:39 +0100
commite6332964437a09c3f7d691783e621d62ef2ea340 (patch)
tree3dee81646ed9039f3cbb9eac9e6194528a202e86
parentzebra: convert interface link-params metric command to NB (diff)
downloadfrr-e6332964437a09c3f7d691783e621d62ef2ea340.tar.xz
frr-e6332964437a09c3f7d691783e621d62ef2ea340.zip
lib: don't set LP_EXTEND_ADM_GRP by default
It shouldn't be set unless some affinity is configured. NB callbacks set this flag correctly when necessary. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
-rw-r--r--lib/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.c b/lib/if.c
index 1a8195de6..1328e2187 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -1135,7 +1135,7 @@ struct if_link_params *if_link_params_enable(struct interface *ifp)
iflp->unrsv_bw[i] = iflp->default_bw;
/* Update Link parameters status */
- iflp->lp_status = LP_MAX_BW | LP_MAX_RSV_BW | LP_UNRSV_BW | LP_EXTEND_ADM_GRP;
+ iflp->lp_status = LP_MAX_BW | LP_MAX_RSV_BW | LP_UNRSV_BW;
/* Set TE metric equal to standard metric only if it is set */
if (ifp->metric != 0) {