[Xorp-users] can not delete interface route
Pavlin Radoslavov
pavlin at icir.org
Tue Jun 26 10:51:00 PDT 2007
Mykola Dzham <i at levsha.org.ua> wrote:
> When i try to delete interface route i recieve error:
>
> root at ruslan.terabit.net.ua# delete interface-route 192.168.0.0/16
> Deleting:
> 192.168.0.0/16 {
> next-hop-interface: "lo0"
> next-hop-vif: "lo0"
> }
>
> OK
> [edit protocols static]
> root at ruslan# commit
> Commit Failed
> Failed to expand XRL xrl $(static.targetname)/static_routes/0.1/delete_interface_route4?unicast:bool=true&multicast:bool=false&network:ipv4net=$(@)&nexthop:ipv4=$(@.next-hop)&ifname:txt=$(@.next-hop-interface)&vifname:txt=$(@.next-hop-vif): failed to expand variable "$(@.next-hop)" associated with node "192.168.0.0/16"[edit protocols static]
> root at ruslan#
There was a bug in the static routes template file.
It is now fixed in CVS:
Revision Changes Path
1.42 +7 -7; commitid: de9646814f527ea6; xorp/etc/templates/static_routes.tp
If you are using XORP-1.4, then it should be sufficient to
apply the following patch to etc/templates/static_routes.tp :
http://xorpc.icir.org/cgi-bin/cvsweb.cgi/xorp/etc/templates/static_routes.tp.diff?r1=1.41&r2=1.42
Thanks,
Pavlin
> --
> Mykola Dzham, LEFT-(UANIC|RIPE)
> JID: levsha at jabber.net.ua
>
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
More information about the Xorp-users
mailing list