diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2018-09-05 17:32:44 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2018-09-05 17:32:44 +0000 |
commit | 1774f936b0a0de626710bc738d85222ecf38cd59 (patch) | |
tree | 5c288c14bb82bd8cc92ec5f4512703949544542f /sys/net | |
parent | 87b5835785ec1e545166faa845a899cf169947cc (diff) |
Implement most prefixlen operations as OP_RANGE (prefixlen A - B).
Simplify the RDE logic this way and make it possible to load such ranges
into a much faster lookup trie for prefix-sets.
When printing the config bgpd tries to use the nices way to express the rule:
e.g. match from any prefix 18.0.0.0/8 prefixlen 8 - 32
becomes match from any prefix 18.0.0.0/8 or-longer
Apart from that there is no user visible change because of this.
OK sthen@
Diffstat (limited to 'sys/net')
0 files changed, 0 insertions, 0 deletions