diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-01-16 16:28:41 +0200 | 
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-01-16 16:28:41 +0200 | 
| commit | 90254e7bc2ff70218f89df1211eb6e3df98b97e6 (patch) | |
| tree | 88eec283f120945ceb8d3a54f439673d3e091884 /tests/bgpd/test_capability.c | |
| parent | 02a5da440b40efa3fd80eb60f81997250f98c561 (diff) | |
tests: Adopt tests for AS4 handling
When received malformed AS4 capability, it should return -1 (notification send),
and the received flag SHOULD NOT be set.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'tests/bgpd/test_capability.c')
| -rw-r--r-- | tests/bgpd/test_capability.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bgpd/test_capability.c b/tests/bgpd/test_capability.c index 38f896b30c..1ee47a38e4 100644 --- a/tests/bgpd/test_capability.c +++ b/tests/bgpd/test_capability.c @@ -617,6 +617,7 @@ static struct test_segment misc_segments[] =  			},  			2,  			SHOULD_ERR, +			-1,  		},  		{  			"dyn-empty",  | 
