|
OK - if the file is missing from the menu, then that means that either
1) it has routers.cgi*Ignore: yes
or
2) it has routers.cgi*InMenu: no
or
3) it has routers.cgi*Options: ignore
or
4) routers2 doesn't think it has any valid targets
From what you say, it looks like the answer is (4).
If you have Optimise switched on, then only a cursory check of the file is done when building the list. Basically, this stops the moment it finds a Title[] line.
HOWEVER, a file is only treated as 'valid' if it has either an Include: line, or a Target[]: line.
Remember that routers2 prefers to have the Target[] line first for a block? I suspect that your first target has the Title[] line before the Target[] line, and so the optimised scan will quit before it confirms a valid title.
I agree that it is a bit silly to not realise that a valid Title[] must also mean a valid Target[]... however, the reason for this is because it needs to have the Target line in order to exatrct host names and community strings.
However I will fix this for 2.17
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|