see previous commit.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
return 0;
}
-void
-isis_circuit_is_type_set (struct isis_circuit *circuit, int is_type)
-{
- if (circuit->is_type != is_type)
- isis_event_circuit_type_change (circuit, is_type);
-}
-
int
isis_circuit_metric_set (struct isis_circuit *circuit, int level, int metric)
{
}
void
-isis_event_circuit_type_change (struct isis_circuit *circuit, int newtype)
+isis_circuit_is_type_set (struct isis_circuit *circuit, int newtype)
{
if (circuit->state != C_STATE_UP)
{
if (area->is_type != IS_LEVEL_1_AND_2)
{
for (ALL_LIST_ELEMENTS_RO (area->circuit_list, node, circuit))
- isis_event_circuit_type_change (circuit, is_type);
+ isis_circuit_is_type_set (circuit, is_type);
}
spftree_area_init (area);