Commit Graph

8 Commits

Author SHA1 Message Date
Peter Szilagyi
7fd6cd819f isisd: fix circuit state machine
isisd has a so-called circuit state machine that takes care about
the interface state changes, such as initializing, down, up. When
an interface was brought down by a link failure, the interface
information was deleted and set to NULL. When the link was restored
later, the interface was looked up by the old pointer, but since it
was cleared, it was never found again, resulting in an interface
never entering the up state again.

Also, the program regularly crashed because of a deleted pointer in
the same context which was later accessed without any further
checking.

Signed-off-by: Fritz Reichmann <fritz@reichmann.nl>
2012-02-14 03:06:00 +04:00
hasso
c89c05dd04 * *.c: Try to be less verbose by default (without any debug options
on).
	* isis_lsp.c (lsp_build_nonpseudo): Use stream_reset() instead of
	  touching endp directly.
	* isis_lsp.c (lsp_build_pseudo): Ditto.
2005-09-04 21:36:36 +00:00
hasso
4660687a38 Don't crash during interface up/down events. 2004-12-29 19:34:22 +00:00
hasso
529d65b3db zlog_* cleanup. Level of debug messages to LOG_DEBUG. 2004-12-24 00:14:50 +00:00
hasso
1cd80845dc No warnings here any more. 2004-10-07 20:07:40 +00:00
hasso
f390d2c783 Indentation only. No any functional changes. 2004-09-10 20:48:21 +00:00
hasso
37da8c0114 Make it compile in NetBSD and OpenBSD. 2004-05-19 11:38:40 +00:00
jardin
eb5d44eb8d Initial revision 2003-12-23 08:09:43 +00:00