allow us to write rules that match directly on the peer AS
authorphessler <phessler@openbsd.org>
Sat, 25 Apr 2015 15:28:18 +0000 (15:28 +0000)
committerphessler <phessler@openbsd.org>
Sat, 25 Apr 2015 15:28:18 +0000 (15:28 +0000)
commit51e30acc2a3a1929305c69fef9ad77db4ba35117
tree6b5f12f87ba4cc952d0a2e13db6325e4be19c566
parent3bbf9882e565df0d1494c18f4ad4cf73875a9306
allow us to write rules that match directly on the peer AS

...
allow from AS 1 prefix 192.0.2.0/24
...

Also adjust the IRR ruleset output to include the declared peer AS,
instead of hoping they listed their neighbor IP address!

OK benno@
older version OK: claudio@ henning@
usr.sbin/bgpctl/irr_output.c
usr.sbin/bgpd/bgpd.conf.5
usr.sbin/bgpd/bgpd.h
usr.sbin/bgpd/parse.y
usr.sbin/bgpd/printconf.c
usr.sbin/bgpd/rde_filter.c