]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: fix metrics check for metric-style narrow
authorChristian Franke <chris@opensourcerouting.org>
Tue, 27 Nov 2012 19:51:59 +0000 (19:51 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 12 Dec 2012 14:38:08 +0000 (15:38 +0100)
commit4fb7c84f1b5e282c7dc413a578d3f42353ac7fec
tree69fe847ce5ce242c2a714ca75182dc39c7a9b210
parente8aca32f312cbef1cb0b0dd9e87b7e59dc9fa251
isisd: fix metrics check for metric-style narrow

When switching to narrow metric style, all configured circuits are
verified to have a valid narrow style metric. Check te_metric instead
of metric_default as the latter is only 8bit wide and may overflow for
wide style metrics.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
isisd/isisd.c