Skip to content

Commit

Permalink
Merge pull request #17427 from opensourcerouting/fix/more_details_for…
Browse files Browse the repository at this point in the history
…_ebgp_no_policy

bgpd: Add more details to ebgp requires policy warning
  • Loading branch information
Jafaral authored Nov 17, 2024
2 parents 7c46eb6 + 53c858e commit 66b0a33
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bgpd/bgp_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -2594,8 +2594,8 @@ bool subgroup_announce_check(struct bgp_dest *dest, struct bgp_path_info *pi,
if (monotime_since(&bgp->ebgprequirespolicywarning,
NULL) > FIFTEENMINUTE2USEC ||
bgp->ebgprequirespolicywarning.tv_sec == 0) {
zlog_warn(
"EBGP inbound/outbound policy not properly setup, please configure in order for your peering to work correctly");
zlog_warn("%pBP [Update:SEND] %pFX EBGP outbound policy not properly setup, please configure in order for your peering to work correctly",
peer, p);
monotime(&bgp->ebgprequirespolicywarning);
}
return false;
Expand Down Expand Up @@ -4845,8 +4845,8 @@ void bgp_update(struct peer *peer, const struct prefix *p, uint32_t addpath_id,
if (monotime_since(&bgp->ebgprequirespolicywarning, NULL) >
FIFTEENMINUTE2USEC ||
bgp->ebgprequirespolicywarning.tv_sec == 0) {
zlog_warn(
"EBGP inbound/outbound policy not properly setup, please configure in order for your peering to work correctly");
zlog_warn("%pBP rcvd UPDATE EBGP inbound policy not properly setup, please configure in order for your peering to work correctly",
peer);
monotime(&bgp->ebgprequirespolicywarning);
}
goto filtered;
Expand Down

0 comments on commit 66b0a33

Please sign in to comment.