diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-10-04 20:13:56 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-10-10 09:05:02 -0300 |
| commit | c9cbbb4054b85947f1ddc52f1ae0b3e18794c784 (patch) | |
| tree | 387c22e541120189140e4d0dac818b398dc0016b /lib/command_py.c | |
| parent | ff880b78ef2d480b381d29487812279d57c0bbac (diff) | |
lib: fix bug in if_cmp_name_func()
If the p1 and p2 arguments pointed to identical strings ending with
a non-numeric character (e.g. "lo"), this function would return -1
instead of 0 as one would expect. This inconsistency didn't matter
for sorted linked-lists but for red-black trees it's a major source
of problems.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions
