patch: Add wildcard matching to show host box

Andreas Ericsson ae at op5.se
Sat Nov 1 13:47:00 CET 2008


Hugo Hallqvist wrote:
> Hi list,
> 
> I've made a patch that adds a simple wildcard based hostname matching
> to status.cgi. An asterisk used somewhere in the hostname matches any
> character(s). If no asterisk is found, the usual style of matching
> kicks in. It would be quite easy to apply the same technique to the ip
> and/or alias fields, possibly with a prefix like ip:x.x.x* to only
> search those fields, but I'm not sure it's useful enough to be worth
> it.
> 

Good stuff. I'll queue it for inclusion when I get the time to review
it more closely.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/




More information about the Developers mailing list