]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Allow aspath prepending for default-originate with route-maps
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 15 Jun 2021 11:55:17 +0000 (14:55 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 22 Jun 2021 12:51:07 +0000 (15:51 +0300)
commit85d93b166ecace984542739c19d82509db0a2e8a
tree82b1ba4d377270d70572afaa4a43e1b4a565d530
parent64fcf85d3812ca9d2dc840d4427b5ba8686ec4cb
bgpd: Allow aspath prepending for default-originate with route-maps

The initial idea was to deny prepending and just use _self_.

This patch at least allows prepending aspath with route-maps, but drops
all non-self ASNs in the path.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_updgrp_adv.c