diff options
author | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | 2007-03-20 20:48:27 +0000 |
---|---|---|
committer | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | 2007-03-20 20:48:27 +0000 |
commit | afb88a669167358ea2be64aa0d10c8c42fa7509c (patch) | |
tree | 2439441fa56db6ecbae310473af7f1e1808916f2 /lib/ChangeLog | |
parent | ad81f8cc2e77275cdeef1267d1ff4173eb89e093 (diff) |
[lib] Make message lookup function more robust.
2007-03-20 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* log.c: (mes_lookup) Make the function more robust: check for
cases where the index does not match the key value at that position.
If so, give a warning and fall back to a linear search.
And improve the error message in cases where even that fails.
Diffstat (limited to 'lib/ChangeLog')
-rw-r--r-- | lib/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 914cc5e8..99b82b1f 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,10 @@ +2007-03-20 Andrew J. Schorr <ajschorr@alumni.princeton.edu> + + * log.c: (mes_lookup) Make the function more robust: check for + cases where the index does not match the key value at that position. + If so, give a warning and fall back to a linear search. + And improve the error message in cases where even that fails. + 2006-12-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * if.h: (struct connected) Add new ZEBRA_IFA_PEER flag indicating |