summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
authorajs <ajs>2004-12-08 19:24:06 +0000
committerajs <ajs>2004-12-08 19:24:06 +0000
commit5d6c37798317cece827dca7f4b539fa0387b5eb9 (patch)
treec09349025c5549b316a2de264bc3f9b2de4b7de2 /ripd/rip_interface.c
parent9b0e25c07763181e73d41d8816762a8aeeb2ad37 (diff)
2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* *.c: Change level of debug messages to LOG_DEBUG.
Diffstat (limited to 'ripd/rip_interface.c')
-rw-r--r--ripd/rip_interface.c29
1 files changed, 14 insertions, 15 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index 55848faa..68dcb01a 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -213,7 +213,7 @@ rip_request_interface_send (struct interface *ifp, u_char version)
{
if (IS_RIP_DEBUG_EVENT)
- zlog_info ("multicast request on %s", ifp->name);
+ zlog_debug ("multicast request on %s", ifp->name);
rip_request_send (NULL, ifp, version, NULL);
return;
@@ -225,7 +225,7 @@ rip_request_interface_send (struct interface *ifp, u_char version)
struct listnode *cnode;
if (IS_RIP_DEBUG_EVENT)
- zlog_info ("broadcast request to %s", ifp->name);
+ zlog_debug ("broadcast request to %s", ifp->name);
for (cnode = listhead (ifp->connected); cnode; nextnode (cnode))
{
@@ -247,7 +247,7 @@ rip_request_interface_send (struct interface *ifp, u_char version)
connected->address->prefixlen);
if (IS_RIP_DEBUG_EVENT)
- zlog_info ("SEND request to %s", inet_ntoa (to.sin_addr));
+ zlog_debug ("SEND request to %s", inet_ntoa (to.sin_addr));
rip_request_send (&to, ifp, version, connected);
}
@@ -308,7 +308,7 @@ rip_request_neighbor_all ()
return;
if (IS_RIP_DEBUG_EVENT)
- zlog_info ("request to the all neighbor");
+ zlog_debug ("request to the all neighbor");
/* Send request to all neighbor. */
for (rp = route_top (rip->neighbor); rp; rp = route_next (rp))
@@ -325,7 +325,7 @@ rip_multicast_join (struct interface *ifp, int sock)
if (if_is_operative (ifp) && if_is_multicast (ifp))
{
if (IS_RIP_DEBUG_EVENT)
- zlog_info ("multicast join at %s", ifp->name);
+ zlog_debug ("multicast join at %s", ifp->name);
for (cnode = listhead (ifp->connected); cnode; nextnode (cnode))
{
@@ -358,7 +358,7 @@ rip_multicast_leave (struct interface *ifp, int sock)
if (if_is_up (ifp) && if_is_multicast (ifp))
{
if (IS_RIP_DEBUG_EVENT)
- zlog_info ("multicast leave from %s", ifp->name);
+ zlog_debug ("multicast leave from %s", ifp->name);
for (cnode = listhead (ifp->connected); cnode; nextnode (cnode))
{
@@ -513,7 +513,7 @@ rip_interface_down (int command, struct zclient *zclient, zebra_size_t length)
rip_if_down(ifp);
if (IS_RIP_DEBUG_ZEBRA)
- zlog_info ("interface %s index %d flags %ld metric %d mtu %d is down",
+ zlog_debug ("interface %s index %d flags %ld metric %d mtu %d is down",
ifp->name, ifp->ifindex, ifp->flags, ifp->metric, ifp->mtu);
return 0;
@@ -533,7 +533,7 @@ rip_interface_up (int command, struct zclient *zclient, zebra_size_t length)
return 0;
if (IS_RIP_DEBUG_ZEBRA)
- zlog_info ("interface %s index %d flags %ld metric %d mtu %d is up",
+ zlog_debug ("interface %s index %d flags %ld metric %d mtu %d is up",
ifp->name, ifp->ifindex, ifp->flags, ifp->metric, ifp->mtu);
/* Check if this interface is RIP enabled or not.*/
@@ -557,7 +557,7 @@ rip_interface_add (int command, struct zclient *zclient, zebra_size_t length)
ifp = zebra_interface_add_read (zclient->ibuf);
if (IS_RIP_DEBUG_ZEBRA)
- zlog_info ("interface add %s index %d flags %ld metric %d mtu %d",
+ zlog_debug ("interface add %s index %d flags %ld metric %d mtu %d",
ifp->name, ifp->ifindex, ifp->flags, ifp->metric, ifp->mtu);
/* Check if this interface is RIP enabled or not.*/
@@ -724,7 +724,7 @@ rip_if_down(struct interface *ifp)
if (ri->running)
{
if (IS_RIP_DEBUG_EVENT)
- zlog_info ("turn off %s", ifp->name);
+ zlog_debug ("turn off %s", ifp->name);
/* Leave from multicast group. */
rip_multicast_leave (ifp, rip->sock);
@@ -795,7 +795,7 @@ rip_interface_address_add (int command, struct zclient *zclient,
if (p->family == AF_INET)
{
if (IS_RIP_DEBUG_ZEBRA)
- zlog_info ("connected address %s/%d is added",
+ zlog_debug ("connected address %s/%d is added",
inet_ntoa (p->u.prefix4), p->prefixlen);
rip_enable_apply(ifc->ifp);
@@ -849,8 +849,7 @@ rip_interface_address_delete (int command, struct zclient *zclient,
if (p->family == AF_INET)
{
if (IS_RIP_DEBUG_ZEBRA)
-
- zlog_info ("connected address %s/%d is deleted",
+ zlog_debug ("connected address %s/%d is deleted",
inet_ntoa (p->u.prefix4), p->prefixlen);
#ifdef HAVE_SNMP
@@ -1141,7 +1140,7 @@ rip_enable_apply (struct interface *ifp)
{
{
if (IS_RIP_DEBUG_EVENT)
- zlog_info ("turn on %s", ifp->name);
+ zlog_debug ("turn on %s", ifp->name);
/* Add interface wake up thread. */
if (! ri->t_wakeup)
@@ -1287,7 +1286,7 @@ rip_passive_interface_apply (struct interface *ifp)
passive_default : !passive_default);
if (IS_RIP_DEBUG_ZEBRA)
- zlog_info ("interface %s: passive = %d",ifp->name,ri->passive);
+ zlog_debug ("interface %s: passive = %d",ifp->name,ri->passive);
}
void