diff options
author | ajs <ajs> | 2004-12-08 19:59:11 +0000 |
---|---|---|
committer | ajs <ajs> | 2004-12-08 19:59:11 +0000 |
commit | 557865c28e34e9172477e9fab025e7888f62dad7 (patch) | |
tree | 151705cd67bda4e7f838856abbe34c96acaf5376 | |
parent | c610681284be58ec2e39867379bdf2ca3047f464 (diff) |
2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* *.c: Change level of debug messages to LOG_DEBUG.
-rw-r--r-- | bgpd/bgp_attr.c | 4 | ||||
-rw-r--r-- | bgpd/bgp_debug.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index 410754ef..44c85850 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -969,7 +969,7 @@ bgp_mp_reach_parse (struct peer *peer, bgp_size_t length, struct attr *attr, char buf2[INET6_ADDRSTRLEN]; if (BGP_DEBUG (update, UPDATE_IN)) - zlog_warn ("%s got two nexthop %s %s but second one is not a link-local nexthop", peer->host, + zlog_debug ("%s got two nexthop %s %s but second one is not a link-local nexthop", peer->host, inet_ntop (AF_INET6, &attr->mp_nexthop_global, buf1, INET6_ADDRSTRLEN), inet_ntop (AF_INET6, &attr->mp_nexthop_local, @@ -1085,7 +1085,7 @@ bgp_attr_unknown (struct peer *peer, struct attr *attr, u_char flag, struct transit *transit; if (BGP_DEBUG (events, EVENTS)) - zlog (peer->log, LOG_INFO, + zlog (peer->log, LOG_DEBUG, "Unknown attribute type %d length %d is received", type, length); /* Forward read pointer of input stream. */ diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c index 3196effc..edcc9f09 100644 --- a/bgpd/bgp_debug.c +++ b/bgpd/bgp_debug.c @@ -273,7 +273,7 @@ bgp_notify_print(struct peer *peer, struct bgp_notify *bgp_notify, subcode_str, bgp_notify->length, bgp_notify->data ? bgp_notify->data : ""); else if (BGP_DEBUG (normal, NORMAL)) - plog_info (peer->log, "%s %s NOTIFICATION %d/%d (%s%s) %d bytes %s", + plog_debug (peer->log, "%s %s NOTIFICATION %d/%d (%s%s) %d bytes %s", peer ? peer->host : "", direct, bgp_notify->code, bgp_notify->subcode, LOOKUP (bgp_notify_msg, bgp_notify->code), |