From 06b430b42009d6f023e6d46571cf0cb394ec6a5d Mon Sep 17 00:00:00 2001 From: Job Snijders Date: Fri, 20 Aug 2021 03:51:51 +0000 Subject: [PATCH] align bgpq4_print_cisco_aspath and bgpq4_print_cisco_oaspath --- printer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/printer.c b/printer.c index 0647383..4c9983b 100644 --- a/printer.c +++ b/printer.c @@ -55,8 +55,8 @@ bgpq4_print_cisco_aspath(FILE *f, struct bgpq_expander *b) find.asn = b->asnumber; if ((res = RB_FIND(asn_tree, &b->asnlist, &find)) != NULL) { - fprintf(f, "ip as-path access-list %s permit" - " ^%u(_%u)*$\n", b->name, res->asn, res->asn); + fprintf(f, "ip as-path access-list %s permit ^%u(_%u)*$\n", + b->name, res->asn, res->asn); RB_REMOVE(asn_tree, &b->asnlist, res); }