summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorHasso Tepper <hasso.tepper@gmail.com>2012-10-11 11:15:18 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2012-11-05 15:15:57 -0500
commit8c9ed279852393804c26e3c8c556a13d08654907 (patch)
tree540dfd742339845bac1079b89122a4a7b33aaba0 /ospfd
parent9234b382735b690f403ce018ce392316b2ad6e38 (diff)
ospfd: remove some buggy extra ';' symbols.
* 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>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_apiserver.c2
-rw-r--r--ospfd/ospf_lsa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_apiserver.c b/ospfd/ospf_apiserver.c
index 2a9003b7..84d70ccc 100644
--- a/ospfd/ospf_apiserver.c
+++ b/ospfd/ospf_apiserver.c
@@ -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))
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c
index 5579d8ef..e778251c 100644
--- a/ospfd/ospf_lsa.c
+++ b/ospfd/ospf_lsa.c
@@ -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));