On 2016/06/04 22:13, Denis Fondras wrote:
> With the support of AS range filtering, we need to print the configuration
> accordingly.

OK sthen@

>       if (r->match.as.type) {
>               if (r->match.as.type == AS_ALL)
> -                     printf("AS %s ", log_as(r->match.as.as));
> +                     printf("AS ");
>               else if (r->match.as.type == AS_SOURCE)
> -                     printf("source-as %s ", log_as(r->match.as.as));
> +                     printf("source-as ");
>               else if (r->match.as.type == AS_TRANSIT)
> -                     printf("transit-as %s ", log_as(r->match.as.as));
> +                     printf("transit-as ");
>               else if (r->match.as.type == AS_PEER)
> -                     printf("peer-as %s ", log_as(r->match.as.as));
> +                     printf("peer-as ");
>               else
> -                     printf("unfluffy-as %s ", log_as(r->match.as.as));
> +                     printf("unfluffy-as ");

makes a change from king bula :)

Reply via email to