]> git.puffer.fish Git - matthieu/frr.git/commitdiff
eigrpd: and More Debugging Cleanup
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 17 Aug 2017 23:40:44 +0000 (19:40 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 17 Aug 2017 23:40:44 +0000 (19:40 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
eigrpd/eigrp_packet.c
eigrpd/eigrp_reply.c
eigrpd/eigrp_update.c

index adea165f48aa0485604f6ed77d76e735a4253c22..f38b759e9f178e2c3db17b0f6b6ae0ae1c7ac0ad 100644 (file)
@@ -644,8 +644,8 @@ int eigrp_read(struct thread *thread)
                                        == nbr->init_sequence_number)) {
                                        eigrp_nbr_state_set(nbr,
                                                            EIGRP_NEIGHBOR_UP);
-                                       zlog_info(
-                                               "Neighbor adjacency became full");
+                                       zlog_info("Neighbor(%s) adjacency became full",
+                                                 inet_ntoa(nbr->src));
                                        nbr->init_sequence_number = 0;
                                        nbr->recv_sequence_number =
                                                ntohl(eigrph->sequence);
index 1a4af1590099cbae1f7d2c33dae9090a225af122..60390ad8a3044dec3cf07239ef0aac7482859bd2 100644 (file)
@@ -84,9 +84,7 @@ void eigrp_send_reply(struct eigrp_neighbor *nbr, struct eigrp_prefix_entry *pe)
        plist = e->prefix[EIGRP_FILTER_OUT];
        alist_i = nbr->ei->list[EIGRP_FILTER_OUT];
        plist_i = nbr->ei->prefix[EIGRP_FILTER_OUT];
-       zlog_info("REPLY Send: Filtering");
 
-       zlog_info("REPLY SEND Prefix: %s", inet_ntoa(nbr->src));
        /* Check if any list fits */
        if ((alist
             && access_list_apply(alist, (struct prefix *)pe2->destination_ipv4)
@@ -106,8 +104,6 @@ void eigrp_send_reply(struct eigrp_neighbor *nbr, struct eigrp_prefix_entry *pe)
                zlog_info("REPLY SEND: Setting Metric to max");
                pe2->reported_metric.delay = EIGRP_MAX_METRIC;
 
-       } else {
-               zlog_info("REPLY SEND: Not setting metric");
        }
 
        /*
index 846b016c6a1f719b0a3dd73ede7f2126d0a04d81..68c0b92fd8a839ab3e1f1b4dca166e6e0b84685f 100644 (file)
@@ -684,13 +684,9 @@ void eigrp_update_send(struct eigrp_interface *ei)
                                && prefix_list_apply(plist_i,
                                                     (struct prefix *)dest_addr)
                                           == PREFIX_DENY)) {
-                               zlog_info("PROC OUT: Skipping");
                                // pe->reported_metric.delay = EIGRP_MAX_METRIC;
-                               zlog_info("PROC OUT Prefix: %s",
-                                         inet_ntoa(dest_addr->prefix));
                                continue;
                        } else {
-                               zlog_info("PROC OUT: NENastavujem metriku ");
                                length += eigrp_add_internalTLV_to_stream(ep->s,
                                                                          pe);
                                has_tlv = 1;