[Xorp-cvs] XORP cvs commit: xorp/policy

Pavlin Radoslavov pavlin@icir.org
Tue, 4 Apr 2006 04:56:39 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2006-04-04 04:56:39 UTC

XORP CVS repository


Modified files:
	policy        term.cc 

Log message:
	Don't throw an error when trying to delete a node and if there is
	no previous statement is in this position. Given that currently,
	say, same "nexthop4" rtrmgr policy template node exists in more than
	one template (bgp.tp, ospfv2.tp, rip.tp), we could receive three times
	same XRL to delete same block. The reason for this is because each
	*.tp "nexthop4" entry incremantally adds same "%delete xrl" action.
	
	The alternative solution would be to avoid node/action duplication
	in the rtrmgr templates.
	
	This fixes bugzilla entry #339.
	
	Bugzilla URL:   http://www.xorp.org/bugzilla/show_bug.cgi?id=339

Revision  Changes                                Path
1.17      +25 -3;  commitid: 105104431fb9e7ea6;  xorp/policy/term.cc