Skip to content

Commit

Permalink
Remove extra space for MikroTik's RouterOS V7 rules (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim427 authored Aug 25, 2024
1 parent 7bd337e commit 44e9773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion printer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1865,7 +1865,7 @@ bgpq4_print_k7prefix(struct sx_radix_node *n, void *ff)

if (n->isAggregate)
fprintf(f,"/routing filter rule add chain=\""
"%s-%s\" rule=\"if (dst in %s && dst-len in %d-%d) {accept}\"\n",
"%s-%s\" rule=\"if (dst in %s && dst-len in %d-%d) {accept}\"\n",
bname ? bname : "NN",
n->prefix->family == AF_INET ? "V4" : "V6",
prefix, n->aggregateLow, n->aggregateHi);
Expand Down

0 comments on commit 44e9773

Please sign in to comment.