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:
@@ -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
|
||||
|
||||
6
bgpq3.8
6
bgpq3.8
@@ -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
|
||||
|
||||
4
bgpq3.c
4
bgpq3.c
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user