[Xorp-cvs] SF.net SVN: xorp:[11531] trunk/xorp/bgp/tools

bms_fbsd at users.sourceforge.net bms_fbsd at users.sourceforge.net
Wed Sep 2 08:17:23 PDT 2009


Revision: 11531
          http://xorp.svn.sourceforge.net/xorp/?rev=11531&view=rev
Author:   bms_fbsd
Date:     2009-09-02 15:17:22 +0000 (Wed, 02 Sep 2009)

Log Message:
-----------
Minor changes to wording of BGP status messages, when BGP is not
running or no peerings configured.

Bugzilla URL:	http://bugzilla.xorp.net/show_bug.cgi?id=625
Submitted by:	Justin Fletcher (with changes)

Modified Paths:
--------------
    trunk/xorp/bgp/tools/print_peer.cc
    trunk/xorp/bgp/tools/print_routes.cc

Modified: trunk/xorp/bgp/tools/print_peer.cc
===================================================================
--- trunk/xorp/bgp/tools/print_peer.cc	2009-09-01 13:00:50 UTC (rev 11530)
+++ trunk/xorp/bgp/tools/print_peer.cc	2009-09-02 15:17:22 UTC (rev 11531)
@@ -75,7 +75,7 @@
     if (e != XrlError::OKAY()) {
 	//fprintf(stderr, "Failed to get peer list start\n");
 	if (_prev_no_bgp == false)
-	    printf("\n\nNo BGP Exists\n");
+	    printf("\n\nBGP is not running or may not be configured\n");
 	_prev_no_bgp = true;
 	_done = true;
 	return;
@@ -83,7 +83,7 @@
     _prev_no_bgp = false;
     if (*more == false) {
 	if (_prev_no_peers == false)
-	    printf("\n\nNo Peerings Exist\n");
+	    printf("\n\nNo BGP peers are configured\n");
 	_prev_no_peers = true;
 	_done = true;
 	return;

Modified: trunk/xorp/bgp/tools/print_routes.cc
===================================================================
--- trunk/xorp/bgp/tools/print_routes.cc	2009-09-01 13:00:50 UTC (rev 11530)
+++ trunk/xorp/bgp/tools/print_routes.cc	2009-09-02 15:17:22 UTC (rev 11531)
@@ -124,7 +124,7 @@
     if (e != XrlError::OKAY()) {
 	//fprintf(stderr, "Failed to get peer list start\n");
 	if (_prev_no_bgp == false)
-	    printf("\n\nNo BGP Exists\n");
+	    printf("\n\nBGP is not running or may not be configured\n");
 	_prev_no_bgp = true;
 	_done = true;
 	return;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Xorp-cvs mailing list