]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: don't set LP_EXTEND_ADM_GRP by default
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 19 Jan 2024 16:49:52 +0000 (18:49 +0200)
committerIgor Ryzhov <iryzhov@nfware.com>
Sun, 28 Jan 2024 21:28:39 +0000 (23:28 +0200)
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>
lib/if.c

index 1a8195de67de0386ebadf020b5bae11f951d56f6..1328e21874a163386cb5410f51d19a3527daef9f 100644 (file)
--- 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) {