mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 13:01:59 +00:00
[ospf6d] Fix silly bug: muse use strcmp to compare strings
2007-06-07 Pavol Rusnak <prusnak@suse.cz> * ospf6_lsa.c: (no_debug_ospf6_lsa_hex_cmd) Fix bug: must use strcmp to compare strings.
This commit is contained in:
parent
0dc0b70802
commit
e733f94944
@ -1,3 +1,8 @@
|
||||
2007-06-07 Pavol Rusnak <prusnak@suse.cz>
|
||||
|
||||
* ospf6_lsa.c: (no_debug_ospf6_lsa_hex_cmd) Fix bug: must use strcmp
|
||||
to compare strings.
|
||||
|
||||
2007-04-27 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
|
||||
|
||||
* ospf6_snmp.c: (ospfv3AreaEntry, ospfv3AreaLsdbEntry) Fix some
|
||||
|
@ -855,7 +855,7 @@ DEFUN (no_debug_ospf6_lsa_type,
|
||||
UNSET_FLAG (handler->debug, OSPF6_LSA_DEBUG);
|
||||
|
||||
if (handler->debug == 0 &&
|
||||
handler->name == "Unknown" && type != OSPF6_LSTYPE_UNKNOWN)
|
||||
!strcmp(handler->name, "Unknown") && type != OSPF6_LSTYPE_UNKNOWN)
|
||||
{
|
||||
free (handler);
|
||||
vector_slot (ospf6_lsa_handler_vector, i) = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user