]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: create the isis_circuit_prepare() helper function
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 28 Nov 2016 20:55:01 +0000 (18:55 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 28 Nov 2016 20:59:51 +0000 (18:59 -0200)
commit5904f19fdf5160ba5c420327a273ad1a93eeabdc
treea1ba38dfa23e42592357ccb38a06c9d04666398a
parent0649629483a94a9f74a89a7df13858819489d469
isisd: create the isis_circuit_prepare() helper function

This reduces code duplication and the likelihood of a bug like 186534
("isisd: fix loss of packets after circuit is brought up") to happen
again.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
isisd/isis_circuit.c
isisd/isis_circuit.h
isisd/isis_pdu.c