mirror of
https://github.com/bgp/bgpq4.git
synced 2024-05-11 05:55:05 +00:00
Revert conditional clauses around XR prefix list generation
This fixes #39 Thank you Octavio & Lukas
This commit is contained in:
6
bgpq4.c
6
bgpq4.c
@ -451,10 +451,10 @@ main(int argc, char* argv[])
|
||||
expander.generation = T_PREFIXLIST;
|
||||
}
|
||||
|
||||
if (expander.generation != (T_PREFIXLIST & T_ASPATH & T_OASPATH) &&
|
||||
expander.vendor == V_CISCO_XR) {
|
||||
if (expander.vendor == V_CISCO_XR && expander.generation != T_PREFIXLIST &&
|
||||
expander.generation != T_ASPATH && expander.generation != T_OASPATH) {
|
||||
sx_report(SX_FATAL, "Sorry, only prefix-sets and as-paths "
|
||||
"supported for IOS XR\n");
|
||||
"supported for IOS XR\n");
|
||||
}
|
||||
if (expander.vendor == V_BIRD && expander.generation != T_PREFIXLIST &&
|
||||
expander.generation != T_ASPATH && expander.generation != T_ASSET) {
|
||||
|
Reference in New Issue
Block a user