[cmaster-next] [PATCH] Rationalize Link Parameters flags
Vincent JARDIN
vincent.jardin at 6wind.com
Tue Dec 20 09:37:28 EST 2016
Le 20/12/2016 à 15:20, Olivier Dugeon a écrit :
> Rationalize Link Parameters flags
>
> * lib/if.h: Remove LP_TE as Link Parameters is set if different from 0
> See IS_LINK_PARAMS_SET macro and use LP_TE_METRIC to determine if TE metric
> is set or not
> * lib/if.c: replace LP_TE by LP_TE_METRIC in default LP status
> * zebra/interface.c: replace LP_TE by LP_TE_METRIC and check if TE metric
> is equal to standard metric or not
> * ospfd/ospf_te.c: replace LP_TE by LP_TE_METRIC
> * isisd/isis_te.c: replace LP_TE by LP_TE_METRIC
>
> Signed-off-by: Olivier Dugeon <olivier.dugeon at orange.com>
> ---
> isisd/isis_te.c | 2 +-
> lib/if.c | 4 ++--
> lib/if.h | 9 ++++++---
> ospfd/ospf_te.c | 2 +-
> zebra/interface.c | 8 ++++----
> 5 files changed, 14 insertions(+), 11 deletions(-)
ack'd
More information about the dev
mailing list