Update bgpq4_printer.c (#43)

Correction Juniper route filter list ouput.
This commit is contained in:
Tony Lee
2021-07-04 02:41:45 +10:00
committed by GitHub
parent 65f157581b
commit 56432d3c74

View File

@@ -1973,7 +1973,7 @@ bgpq4_print_juniper_route_filter_list(FILE* f, struct bgpq_expander* b)
b->name ? b->name : "NN");
if (sx_radix_tree_empty(b->tree)) {
fprintf(f, " route-filter %s/0 orlonger reject;\n",
fprintf(f, " %s/0 orlonger reject;\n",
b->tree->family == AF_INET ? "0.0.0.0" : "::");
} else {
jrfilter_prefixed = 0;