mirror of
https://github.com/bgp/bgpq4
synced 2025-02-28 08:53:11 +00:00
Forbid -e -E -6 (#123)
The resulting list is a bit weird 😉
```
permit ip host 2a05:6340:: host 255.255.255.248
permit ip host 2a06:19c0:: host 255.255.255.248
permit ip host 2a07:4b00:: host 255.255.255.248
permit ip host 2a07:7b40:: host 255.255.255.248
```
This commit is contained in:
8
main.c
8
main.c
@@ -604,6 +604,14 @@ main(int argc, char* argv[])
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (expander.vendor == V_ARISTA
|
||||
&& expander.generation == T_EACL
|
||||
&& expander.family == AF_INET6) {
|
||||
sx_report(SX_FATAL, "Sorry, extended access-lists is not compatible "
|
||||
"with Arista EOS and IPv6\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (expander.sequence
|
||||
&& (expander.vendor != V_CISCO && expander.vendor != V_ARISTA)) {
|
||||
sx_report(SX_FATAL, "Sorry, prefix-lists sequencing (-s) supported"
|
||||
|
||||
Reference in New Issue
Block a user