Return to match.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.9, 2000/09/07 20:27:52 | version 1.10, 2000/12/19 23:17:57 | ||
---|---|---|---|
|
|
||
*/ | */ | ||
int | int | ||
match_hostname(const char *host, const char *pattern, unsigned int len) | match_hostname(const char *host, const char *pattern, u_int len) | ||
{ | { | ||
char sub[1024]; | char sub[1024]; | ||
int negated; | int negated; | ||
int got_positive; | int got_positive; | ||
unsigned int i, subi; | u_int i, subi; | ||
got_positive = 0; | got_positive = 0; | ||
for (i = 0; i < len;) { | for (i = 0; i < len;) { |