diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2023-04-19 13:40:13 +0200 | 
|---|---|---|
| committer | Louis Scalbert <louis.scalbert@6wind.com> | 2023-09-18 14:57:03 +0200 | 
| commit | 39a8d354c11f6f063fa5154f5807e7a0c9b04b46 (patch) | |
| tree | 274eb91b310d78b045f9b00f0dca42a797e30764 /bgpd/bgp_errors.c | |
| parent | c8172af6825ad4b10e68b33b8edc22e6e2dc1524 (diff) | |
bgpd: store bgp link-state prefixes
Add the ability to store link-state prefixes in the BGP table.
Store a raw copy of the BGP link state NLRI TLVs as received in the
packet in 'p.u.prefix_linkstate.ptr'.
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'bgpd/bgp_errors.c')
| -rw-r--r-- | bgpd/bgp_errors.c | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/bgpd/bgp_errors.c b/bgpd/bgp_errors.c index cfcefed996..2f9f16f800 100644 --- a/bgpd/bgp_errors.c +++ b/bgpd/bgp_errors.c @@ -450,6 +450,12 @@ static struct log_ref ferr_bgp_err[] = {  		.suggestion = "Gather log files from the router and open an issue, Restart FRR"  	},  	{ +		.code = EC_BGP_LINKSTATE_PACKET, +		.title = "BGP Link-State packet processing error", +		.description = "The BGP Link-State subsystem has detected a error in the send or receive of a packet", +		.suggestion = "Gather log files from both sides of the peering relationship and open an issue" +	}, +	{  		.code = EC_BGP_DOPPELGANGER_CONFIG,  		.title = "BGP has detected a configuration overwrite during peer collision resolution",  		.description = "As part of BGP startup, the peer and ourselves can start connections to each other at the same time. During this process BGP received additional configuration, but it was only applied to one of the two nascent connections. Depending on the result of collision detection and resolution this configuration might be lost.  To remedy this, after performing collision detection and resolution the peer session has been reset in order to apply the new configuration.",  | 
