|
This is not a problem with activeperl.
routers2 is trying to preserve current settings (eg, graph size, time frame, etc) when you switch to a different device. That is why the extra info is appended. Waht should not be added is the rtr= parameter and a second if= parameter, although one may be appended in order to try and keep looking at the same thing but on a different device.
If the new device does not have a target with the same name as the previous target, then it should fail back to using whatever your defined default is.
(checks code)
What seems to be happening is that the system is not correctly picking your defined default when the passed if= parameter is shown to be incorrect. To fix this, I can change the program so that no if= parameter is passed, although this then stops people browsing from device to device following same named targets (we cant do this here, and it doesnt work with cfgmaker-created cfg files anyway). I might do this in 2.17.
Actually, the code already has a comment in the required place to disable this behaviour as I'd considered it long ago.
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|