1
0
mirror of https://github.com/bgp/bgpq4.git synced 2024-05-11 05:55:05 +00:00

minor fixes. documentation, copyrights, package version

This commit is contained in:
snar
2011-07-15 12:16:16 +00:00
parent 078b680d57
commit 8a92708df5
6 changed files with 1198 additions and 1339 deletions

View File

@@ -1,5 +1,5 @@
/*-
* Copyright (c) 2007-2009 Alexandre Snarskii <snar@snar.spb.ru>
* Copyright (c) 2007-2011 Alexandre Snarskii <snar@snar.spb.ru>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without

View File

@@ -1,4 +1,4 @@
.\" Copyright (c) [year] [your name]
.\" Copyright (c) 2007-2011 Alexandre Snarskii
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -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.5 2009/07/13 10:22:05 snar Exp $
.\" "$Id: bgpq3.8,v 1.6 2011/07/15 12:16:16 snar Exp $
.\"
.Dd Oct 27, 2008
.Dt BGPQ3 8
@@ -84,6 +84,8 @@ allow specific routes up to specified masklen too.
use specified sources only (default: RADB,RIPE,APNIC).
.It Fl T
disable pipelining.
.It Fl X
generate config for Cisco IOS XR devices (plain IOS by default).
.It Ar OBJECTS
means networks (in prefix format), autonomous systems and as-macros.
.El

View File

@@ -24,7 +24,7 @@ int
usage(int ecode)
{
printf("\nUsage: bgpq3 [-h host] [-S sources] [-P|E|G <num>|f <num>]"
" [-36ADd] [-R len] <OBJECTS>...\n");
" [-36ADJXd] [-R len] <OBJECTS>...\n");
printf(" -3 : assume that your device is asn32-safe\n");
printf(" -6 : generate IPv6 prefix-lists (IPv4 by default)\n");
printf(" -A : try to aggregate Cisco prefix-lists or Juniper "
@@ -49,7 +49,7 @@ usage(int ecode)
printf(" -T : disable pipelining (experimental, faster mode)\n");
printf(" -X : generate config for IOS XR (Cisco IOS by default)\n");
printf("\n" PACKAGE_NAME " version: " PACKAGE_VERSION "\n");
printf("Copyright(c) Alexandre Snarskii <snar@snar.spb.ru> 2007-2009\n\n");
printf("Copyright(c) Alexandre Snarskii <snar@snar.spb.ru> 2007-2011\n\n");
exit(ecode);
};

View File

@@ -432,7 +432,8 @@ int
bgpq3_print_ciscoxr_prefixlist(FILE* f, struct bgpq_expander* b)
{
bname=b->name;
fprintf(f,"prefix-set %s\n", bname?bname:"NN");
fprintf(f,"no prefix-set %s\nprefix-set %s\n", bname?bname:"NN",
bname?bname:"NN");
sx_radix_tree_foreach(b->tree,bgpq3_print_cprefixxr,f);
fprintf(f, "\nend-set\n");
return 0;

2472
configure vendored
View File

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
AC_INIT(bgpq3,0.1.11,snar@snar.spb.ru)
AC_INIT(bgpq3,0.1.15,snar@snar.spb.ru)
AC_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_INSTALL