From 72208f219a1a8092a07eff4346f3d27b5e88f96d Mon Sep 17 00:00:00 2001 From: snar Date: Wed, 29 Aug 2012 10:58:20 +0000 Subject: [PATCH] aggregation documentation bug fix --- CHANGES | 2 ++ Makefile.in | 1 + bgpq3.8 | 4 ++-- bgpq3.html | 2 +- bgpq3.txt | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 61fa5b1..1fbba8d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ + - bug in aggregation documentation fixed. Thanks to Nikolay Shopik. + 0.1.16 (2012-01-19) - new option -m : maximum length of accepted prefixes. Suggested by Eugene Demidov, used to discard 'too long prefixes' diff --git a/Makefile.in b/Makefile.in index 9250225..c2d7e96 100644 --- a/Makefile.in +++ b/Makefile.in @@ -30,6 +30,7 @@ clean: install: bgpq3 ${INSTALL} -c -s -m 755 bgpq3 @bindir@ + if test ! -d @prefix@/man/man8 ; then mkdir -p @prefix@/man/man8 ; fi ${INSTALL} -m 644 bgpq3.8 @prefix@/man/man8 depend: diff --git a/bgpq3.8 b/bgpq3.8 index ea325a5..6555b96 100644 --- a/bgpq3.8 +++ b/bgpq3.8 @@ -21,7 +21,7 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.\" "$Id: bgpq3.8,v 1.7 2012/05/18 15:52:06 snar Exp $ +.\" "$Id: bgpq3.8,v 1.8 2012/08/29 10:58:20 snar Exp $ .\" .Dd Oct 27, 2008 .Dt BGPQ3 8 @@ -138,7 +138,7 @@ ip prefix-list eltel permit 89.112.64.0/19 ip prefix-list eltel permit 217.170.64.0/19 ge 20 le 20 .RE .fi -- you see, prefixes 89.112.32.0/19 and 89.112.64.0/19 now aggregated +- you see, prefixes 89.112.0.0/19 and 89.112.32.0/19 now aggregated into single entry 89.112.0.0/18 ge 19 le 19. .Pp Well, for Juniper we can generate even more interesting policy-options, diff --git a/bgpq3.html b/bgpq3.html index 9fbe1fb..fab83f7 100644 --- a/bgpq3.html +++ b/bgpq3.html @@ -171,7 +171,7 @@ more compact:

ip prefix-list eltel permit 217.170.64.0/19 ge 20 le 20 -

and, as you see, prefixes 89.112.32.0/19 and 89.112.64.0/19 now aggregated +

and, as you see, prefixes 89.112.0.0/19 and 89.112.32.0/19 now aggregated into single entry

ip prefix-list eltel permit 89.112.0.0/18 ge 19 le 19.
diff --git a/bgpq3.txt b/bgpq3.txt
index baac6b1..653b097 100644
--- a/bgpq3.txt
+++ b/bgpq3.txt
@@ -151,7 +151,7 @@ more compact:
      ip prefix-list eltel permit 89.112.64.0/19
      ip prefix-list eltel permit 217.170.64.0/19 ge 20 le 20
 
-and, as you see, prefixes `89.112.32.0/19` and `89.112.64.0/19` now aggregated 
+and, as you see, prefixes `89.112.0.0/19` and `89.112.32.0/19` now aggregated 
 into single entry 
 
 	ip prefix-list eltel permit 89.112.0.0/18 ge 19 le 19.