[Xorp-cvs] XORP cvs commit: xorp/rib/tools

Pavlin Radoslavov pavlin@icir.org
Wed, 2 Nov 2005 03:59:49 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2005-11-02 03:59:49 UTC

XORP CVS repository


Modified files:
	rib/tools     show_routes.cc 

Log message:
	Use better formatting for the terse output of the routes.
	
	Before:
	XORP# run show route table ipv4 unicast final terse
	Destination     P Prf   Metric 1        Next hop
	10.10.10.0/24   c   0          0        eth0/eth0
	192.168.100.128/30      s   1          1        10.10.10.1
	
	After:
	XORP# run show route table ipv4 unicast final terse
	Destination        P Prf  Metric 1  Next hop
	10.10.10.0/24      c   0         0  eth0/eth0
	192.168.100.128/30 s   1         1  10.10.10.1
	XORP#
	XORP# run show route table ipv6 unicast final terse
	Destination        P Prf  Metric 1  Next hop
	2001:db8:5009:beef::/64
	                   c   0         0  eth0/eth0
	3ffe::/64          s   1         1  2001:db8:5009:beef:dead:beef:dead:beef
	
	This change is from bugzilla entry #162 attachment (id=76)
	
	Bugzilla URL:   http://www.xorp.org/bugzilla/show_bug.cgi?id=162
	Submitted by:   Hasso Tepper <hasso AT linux.ee>

Revision  Changes                                 Path
1.17      +21 -21;  commitid: 14612436838e77ea6;  xorp/rib/tools/show_routes.cc