]> git.proxmox.com Git - mirror_frr.git/commit - lib/if.h
Rationalize Link Parameters flags
authorOlivier Dugeon <olivier.dugeon@orange.com>
Tue, 20 Dec 2016 14:02:34 +0000 (15:02 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 5 Jan 2017 07:19:11 +0000 (08:19 +0100)
commitdaf0a4d29cdb24ca0125c6bd15a52be153fbbde3
tree03536dd16aa60cb2305041be3edaf329fe2f9080
parent487be854a5476afa9d96e09ef20617d20dda7f78
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
lib/if.c
lib/if.h
ospfd/ospf_te.c
zebra/interface.c