]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: use a smaller #ifdef for isis_receive()
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 28 Nov 2016 20:35:36 +0000 (18:35 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 28 Nov 2016 20:59:13 +0000 (18:59 -0200)
commit0649629483a94a9f74a89a7df13858819489d469
treeef606a2a7b8870a606a7ef8a73bbb9f24a041949
parent18653436b7e7e5cb7a3ea8ba8a182598cbfbd247
isisd: use a smaller #ifdef for isis_receive()

There's no need to provide two definitions of the isis_receive()
function (one for GNU_LINUX and the other for !GNU_LINUX). Both differ
only slightly so it makes more sense to define isis_receive() just once
and use a smaller #ifdef to account for these differences. This improves
code readability.

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