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@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