diff options
author | ajs <ajs> | 2007-06-07 13:11:58 +0000 |
---|---|---|
committer | ajs <ajs> | 2007-06-07 13:11:58 +0000 |
commit | f3a941ac36c30a2c2e853f4f41e25f4c615c00d5 (patch) | |
tree | 67413669733d69cb07027ac3bc022f4f64280dd5 /ospf6d/ospf6_lsa.c | |
parent | 7faa2b1518cb0ea9566e683a8ab315d2adb7652c (diff) | |
download | quagga-f3a941ac36c30a2c2e853f4f41e25f4c615c00d5.tar.bz2 quagga-f3a941ac36c30a2c2e853f4f41e25f4c615c00d5.tar.xz |
[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.
Diffstat (limited to 'ospf6d/ospf6_lsa.c')
-rw-r--r-- | ospf6d/ospf6_lsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c index d555c3bd..e57384b3 100644 --- a/ospf6d/ospf6_lsa.c +++ b/ospf6d/ospf6_lsa.c @@ -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; |