[Xorp-cvs] XORP cvs commit: xorp/etc/templates

Pavlin Radoslavov pavlin@icir.org
Sat, 12 Nov 2005 06:18:00 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2005-11-12 06:18:00 UTC

XORP CVS repository


Modified files:
	etc/templates bgp.tp 

Log message:
	Don't set a default value for med-remove, because it is BGP-specific
	variable, and the corresponding XRL will be executed even if we
	are not running BGP which will trigger an error.
	
	E.g., if we are running, say, only OSPF, an OSPF export policy like
	the following would have trigger the med-remove XRL and the result
	error will prevent XORP from starting:
	
	policy {
	    policy-statement export_static {
	        term static {
	            from {
	                protocol: "static"
	            }
	            then {
	                tag: 10
	            }
	        }
	    }
	}
	
	Bug found by:   Atanu Ghosh

Revision  Changes                               Path
1.63      +2 -2;  commitid: 1744a4375886d7ea6;  xorp/etc/templates/bgp.tp