]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: remove some buggy extra ';' symbols.
authorHasso Tepper <hasso.tepper@gmail.com>
Thu, 11 Oct 2012 11:15:18 +0000 (11:15 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 5 Nov 2012 20:15:57 +0000 (15:15 -0500)
 * ospfd/ospf_apiserver.c: extra ; causing lookup to fail always
 * ospfd/ospf_lsa.c: extra ; causing debug output even when disabled

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
ospfd/ospf_apiserver.c
ospfd/ospf_lsa.c

index 2a9003b72b8b854521a83c097bcb0ba30529a654..84d70ccc1bb9ca680d67313b0c5998b5c2a62309 100644 (file)
@@ -105,7 +105,7 @@ ospf_apiserver_if_lookup_by_ifp (struct interface *ifp)
   struct ospf_interface *oi;
   struct ospf *ospf;
 
-  if (!(ospf = ospf_lookup ()));
+  if (!(ospf = ospf_lookup ()))
     return NULL;
 
   for (ALL_LIST_ELEMENTS (ospf->oiflist, node, nnode, oi))
index 5579d8efda70c9d6e92b4cd8463692894e10b1dd..e778251caace226ba47668818e9043a671957bc1 100644 (file)
@@ -1866,7 +1866,7 @@ ospf_translated_nssa_originate (struct ospf *ospf, struct ospf_lsa *type7)
   
   if ( (new = ospf_lsa_install (ospf, NULL, new)) == NULL)
     {
-      if (IS_DEBUG_OSPF_NSSA);
+      if (IS_DEBUG_OSPF_NSSA)
         zlog_debug ("ospf_lsa_translated_nssa_originate(): "
                    "Could not install LSA "
                    "id %s", inet_ntoa (type7->data->id));