[cmaster-next] [PATCH] Rationalize Link Parameters flags

Olivier Dugeon olivier.dugeon at orange.com
Tue Dec 20 09:20:14 EST 2016


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(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Rationalize-Link-Parameters-flags.patch
Type: text/x-patch
Size: 5320 bytes
Desc: not available
URL: <http://lists.frrouting.org/pipermail/dev/attachments/20161220/788ad3ba/attachment.bin>


More information about the dev mailing list