summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-10-04 20:13:56 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-10-10 09:05:02 -0300
commitc9cbbb4054b85947f1ddc52f1ae0b3e18794c784 (patch)
tree387c22e541120189140e4d0dac818b398dc0016b /lib/command_py.c
parentff880b78ef2d480b381d29487812279d57c0bbac (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