summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bgpctl/irr_output.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2007-03-05 13:57:59 +0000
committerhenning <henning@openbsd.org>2007-03-05 13:57:59 +0000
commit734bb2fba2cc7a45e1f30de994157b8db0ab987c (patch)
treeb748a4d5e786ec2669888098835de2fbefcb586e /usr.sbin/bgpctl/irr_output.c
parentdo the prefix masking in network byte order (diff)
downloadwireguard-openbsd-734bb2fba2cc7a45e1f30de994157b8db0ab987c.tar.xz
wireguard-openbsd-734bb2fba2cc7a45e1f30de994157b8db0ab987c.zip
in prefix_aggregate(), when we look at two neighbor prefixes, see wether
they can be expressed as one with shorter prefixlen. if so, adjust the first prefix accordingly and return 1 so the second gets removed. shrinks the ruleset for my AS from 19533 to 16892 rules.
Diffstat (limited to 'usr.sbin/bgpctl/irr_output.c')
0 files changed, 0 insertions, 0 deletions