diff options
author | paul <paul> | 2008-01-29 19:29:44 +0000 |
---|---|---|
committer | paul <paul> | 2008-01-29 19:29:44 +0000 |
commit | 7f2bd94e8fe95b32c57b266a90537693857cac18 (patch) | |
tree | e9d8c3dd6d2158b73801185164eec11cf5751390 /isisd/isis_flags.h | |
parent | 53e86f07da24c19292ec3f0d8001c9f6f53b08e0 (diff) | |
download | quagga-7f2bd94e8fe95b32c57b266a90537693857cac18.tar.bz2 quagga-7f2bd94e8fe95b32c57b266a90537693857cac18.tar.xz |
[isisd] Bug #437: fix ssert caused by bad list management
2008-01-29 James Carlson <james.d.carlson@sun.com>
* Fix bug #437, assert due to bogus index management
* isis_flags.c: (flags_initialize) new
* (flags_get_index) fix off by one, leading to list assert
on null node data.
(flags_free_index) ditto.
* isisd.c: (isis_area_create) use flags_initialize
(isis_area_destroy) deconfigure circuits when
taking down area.
Diffstat (limited to 'isisd/isis_flags.h')
-rw-r--r-- | isisd/isis_flags.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/isisd/isis_flags.h b/isisd/isis_flags.h index f2421f2f..13dd9e14 100644 --- a/isisd/isis_flags.h +++ b/isisd/isis_flags.h @@ -28,6 +28,7 @@ * the support will be achived using the newest drafts */ #define ISIS_MAX_CIRCUITS 32 /* = 1024 */ /*FIXME:defined in lsp.h as well */ +void flags_initialize (struct flags *flags); struct flags *new_flags (int size); int flags_get_index (struct flags *flags); void flags_free_index (struct flags *flags, int index); |