mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 01:40:16 +00:00
Merge pull request #10743 from donaldsharp/bgp_no_ll
This commit is contained in:
commit
64fac7801c
@ -474,6 +474,12 @@ static struct log_ref ferr_bgp_err[] = {
|
|||||||
.description = "BGP route for the specified AFI/SAFI is NULL",
|
.description = "BGP route for the specified AFI/SAFI is NULL",
|
||||||
.suggestion = "Get log files from router and open an issue",
|
.suggestion = "Get log files from router and open an issue",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.code = EC_BGP_NO_LL_ADDRESS_AVAILABLE,
|
||||||
|
.title = "BGP v6 peer with no LL address on outgoing interface",
|
||||||
|
.description = "BGP when using a v6 peer requires a v6 LL address to be configured on the outgoing interface as per RFC 4291 section 2.1",
|
||||||
|
.suggestion = "Add a v6 LL address to the outgoing interfaces as per RFC",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.code = END_FERR,
|
.code = END_FERR,
|
||||||
}
|
}
|
||||||
|
@ -101,6 +101,7 @@ enum bgp_log_refs {
|
|||||||
EC_BGP_ROUTER_ID_SAME,
|
EC_BGP_ROUTER_ID_SAME,
|
||||||
EC_BGP_INVALID_BGP_INSTANCE,
|
EC_BGP_INVALID_BGP_INSTANCE,
|
||||||
EC_BGP_INVALID_ROUTE,
|
EC_BGP_INVALID_ROUTE,
|
||||||
|
EC_BGP_NO_LL_ADDRESS_AVAILABLE,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern void bgp_error_init(void);
|
extern void bgp_error_init(void);
|
||||||
|
@ -882,6 +882,12 @@ bool bgp_zebra_nexthop_set(union sockunion *local, union sockunion *remote,
|
|||||||
*/
|
*/
|
||||||
if (!v6_ll_avail && if_is_loopback(ifp))
|
if (!v6_ll_avail && if_is_loopback(ifp))
|
||||||
v6_ll_avail = true;
|
v6_ll_avail = true;
|
||||||
|
else {
|
||||||
|
flog_warn(
|
||||||
|
EC_BGP_NO_LL_ADDRESS_AVAILABLE,
|
||||||
|
"Interface: %s does not have a v6 LL address associated with it, waiting until one is created for it",
|
||||||
|
ifp->name);
|
||||||
|
}
|
||||||
} else
|
} else
|
||||||
/* Link-local address. */
|
/* Link-local address. */
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user