mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 01:40:16 +00:00
eigrpd: and More Debugging Cleanup
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
0f6c16fbe6
commit
29e48d5859
@ -644,8 +644,8 @@ int eigrp_read(struct thread *thread)
|
|||||||
== nbr->init_sequence_number)) {
|
== nbr->init_sequence_number)) {
|
||||||
eigrp_nbr_state_set(nbr,
|
eigrp_nbr_state_set(nbr,
|
||||||
EIGRP_NEIGHBOR_UP);
|
EIGRP_NEIGHBOR_UP);
|
||||||
zlog_info(
|
zlog_info("Neighbor(%s) adjacency became full",
|
||||||
"Neighbor adjacency became full");
|
inet_ntoa(nbr->src));
|
||||||
nbr->init_sequence_number = 0;
|
nbr->init_sequence_number = 0;
|
||||||
nbr->recv_sequence_number =
|
nbr->recv_sequence_number =
|
||||||
ntohl(eigrph->sequence);
|
ntohl(eigrph->sequence);
|
||||||
|
@ -84,9 +84,7 @@ void eigrp_send_reply(struct eigrp_neighbor *nbr, struct eigrp_prefix_entry *pe)
|
|||||||
plist = e->prefix[EIGRP_FILTER_OUT];
|
plist = e->prefix[EIGRP_FILTER_OUT];
|
||||||
alist_i = nbr->ei->list[EIGRP_FILTER_OUT];
|
alist_i = nbr->ei->list[EIGRP_FILTER_OUT];
|
||||||
plist_i = nbr->ei->prefix[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 */
|
/* Check if any list fits */
|
||||||
if ((alist
|
if ((alist
|
||||||
&& access_list_apply(alist, (struct prefix *)pe2->destination_ipv4)
|
&& 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");
|
zlog_info("REPLY SEND: Setting Metric to max");
|
||||||
pe2->reported_metric.delay = EIGRP_MAX_METRIC;
|
pe2->reported_metric.delay = EIGRP_MAX_METRIC;
|
||||||
|
|
||||||
} else {
|
|
||||||
zlog_info("REPLY SEND: Not setting metric");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -684,13 +684,9 @@ void eigrp_update_send(struct eigrp_interface *ei)
|
|||||||
&& prefix_list_apply(plist_i,
|
&& prefix_list_apply(plist_i,
|
||||||
(struct prefix *)dest_addr)
|
(struct prefix *)dest_addr)
|
||||||
== PREFIX_DENY)) {
|
== PREFIX_DENY)) {
|
||||||
zlog_info("PROC OUT: Skipping");
|
|
||||||
// pe->reported_metric.delay = EIGRP_MAX_METRIC;
|
// pe->reported_metric.delay = EIGRP_MAX_METRIC;
|
||||||
zlog_info("PROC OUT Prefix: %s",
|
|
||||||
inet_ntoa(dest_addr->prefix));
|
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
zlog_info("PROC OUT: NENastavujem metriku ");
|
|
||||||
length += eigrp_add_internalTLV_to_stream(ep->s,
|
length += eigrp_add_internalTLV_to_stream(ep->s,
|
||||||
pe);
|
pe);
|
||||||
has_tlv = 1;
|
has_tlv = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user