summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_lsa.c
diff options
context:
space:
mode:
authorAndrew J. Schorr <ajschorr@alumni.princeton.edu>2007-06-07 15:11:58 +0200
committerAndrew J. Schorr <ajschorr@alumni.princeton.edu>2007-06-07 15:11:58 +0200
commite733f949448e1cf9fa27e8b618c56a0e4badc1af (patch)
tree7835ff729868c1421a4f3b59258008731e4ab30a /ospf6d/ospf6_lsa.c
parent[linux] Fix strange compilation problem by explicitly including <linux/types.h> (diff)
downloadfrr-e733f949448e1cf9fa27e8b618c56a0e4badc1af.tar.xz
frr-e733f949448e1cf9fa27e8b618c56a0e4badc1af.zip
[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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c
index d555c3bda..e57384b3f 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;