mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 08:32:45 +00:00
isisd: fix is_type_set
Code's "is_type" is "circuit-type" in CLI, "circuit_type" is "network" (type) in CLI, and the function to change is_type is isis_event_circuit_type_change()... *headdesk* Reported-by: Martin Winter <mwinter@opensourcerouting.org> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
6f32c890cb
commit
791ffe38a5
@ -1285,10 +1285,10 @@ isis_circuit_passive_set (struct isis_circuit *circuit, bool passive)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
isis_circuit_is_type_set (struct isis_circuit *circuit, int circ_type)
|
isis_circuit_is_type_set (struct isis_circuit *circuit, int is_type)
|
||||||
{
|
{
|
||||||
if (circuit->circ_type != circ_type)
|
if (circuit->is_type != is_type)
|
||||||
isis_event_circuit_type_change (circuit, circ_type);
|
isis_event_circuit_type_change (circuit, is_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user