diff options
author | ajs <ajs> | 2004-12-29 21:04:48 +0000 |
---|---|---|
committer | ajs <ajs> | 2004-12-29 21:04:48 +0000 |
commit | 17eaa728aae282e373b98a8d193c5c48c24e1a0f (patch) | |
tree | a629736bfc2e0a07152a1d539df7f604e576c619 | |
parent | b87f772abe45b24f3aeefc807d0a2e4344ec0754 (diff) |
2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* ospf_packet.c: (ospf_db_desc) Reduce severity of "Negotiation done"
messages from LOG_WARNING to LOG_INFO, since this seems to be
normal.
-rw-r--r-- | ospfd/ChangeLog | 6 | ||||
-rw-r--r-- | ospfd/ospf_packet.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index d0d40120..6686bdc0 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,5 +1,11 @@ 2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu> + * ospf_packet.c: (ospf_db_desc) Reduce severity of "Negotiation done" + messages from LOG_WARNING to LOG_INFO, since this seems to be + normal. + +2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu> + * ospf_packet.c: (ospf_read) Always look up the interface if ospf_recv_packet returns NULL ifp, since some platforms such as Solaris 8 appear to support ifindex retrieval but don't. diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 0a6572d0..6eb6651f 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -1181,7 +1181,7 @@ ospf_db_desc (struct ip *iph, struct ospf_header *ospfh, if (IPV4_ADDR_CMP (&nbr->router_id, &oi->ospf->router_id) > 0) { /* We're Slave---obey */ - zlog_warn ("Packet[DD]: Neighbor %s Negotiation done (Slave).", + zlog_info ("Packet[DD]: Neighbor %s Negotiation done (Slave).", inet_ntoa(nbr->router_id)); nbr->dd_seqnum = ntohl (dd->dd_seqnum); nbr->dd_flags &= ~(OSPF_DD_FLAG_MS|OSPF_DD_FLAG_I); /* Reset I/MS */ @@ -1199,7 +1199,7 @@ ospf_db_desc (struct ip *iph, struct ospf_header *ospfh, ntohl (dd->dd_seqnum) == nbr->dd_seqnum && IPV4_ADDR_CMP (&nbr->router_id, &oi->ospf->router_id) < 0) { - zlog_warn ("Packet[DD]: Neighbor %s Negotiation done (Master).", + zlog_info ("Packet[DD]: Neighbor %s Negotiation done (Master).", inet_ntoa(nbr->router_id)); nbr->dd_flags &= ~OSPF_DD_FLAG_I; } |