summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorpaul <paul>2003-02-13 23:04:01 +0100
committerpaul <paul>2003-02-13 23:04:01 +0100
commit17b78d38e438bb25d27aa00554ad948a792850aa (patch)
tree7c0691d8d0164f57266690a9982ba750c346927f /ospfd
parentUpdate auto* build files (diff)
downloadfrr-17b78d38e438bb25d27aa00554ad948a792850aa.tar.xz
frr-17b78d38e438bb25d27aa00554ad948a792850aa.zip
Fix debug statement in ospf_packet.c and merge error in ospf_lsa.c
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_lsa.c2
-rw-r--r--ospfd/ospf_packet.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c
index 0a48babc3..9c8cd81dd 100644
--- a/ospfd/ospf_lsa.c
+++ b/ospfd/ospf_lsa.c
@@ -2620,8 +2620,6 @@ ospf_lsa_maxage_walker_remover (struct ospf_lsa *lsa, void *p_arg, int int_arg)
case OSPF_OPAQUE_LINK_LSA:
case OSPF_OPAQUE_AREA_LSA:
case OSPF_OPAQUE_AS_LSA:
- case OSPF_OPAQUE_LINK_LSA:
- case OSPF_OPAQUE_AREA_LSA:
/*
* As a general rule, whenever network topology has changed
* (due to an LSA removal in this case), routing recalculation
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 0b9e60f36..d8456842e 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -2217,7 +2217,7 @@ ospf_read (struct thread *thread)
top->t_read = thread_add_read (master, ospf_read, top, top->fd);
/* IP Header dump. */
- if (ospf_debug_packet & OSPF_DEBUG_RECV)
+ if (IS_DEBUG_OSPF_PACKET(0, RECV))
ospf_ip_header_dump (ibuf);
/* Self-originated packet should be discarded silently. */