freebsd-ports/picobsd/ssh-picobsd/files/patch-bj
Luigi Rizzo 90d8c77fba New port: stripped-down ssh version to be used in picobsd images.
"stripped down" refers to the fact that we build a single binary
which includes ssh, sshd and scp functionality without having
to bring in 3 copies of mostly the same code.

Requests to add this category and this port have been posted
on the ports list and directly to satoshi over the past few
months. I assume no reply means no problem.
2001-04-22 14:03:04 +00:00

16 lines
400 B
Text

*** match.c.orig Wed May 12 13:19:27 1999
--- match.c Mon Jan 10 22:56:13 2000
***************
*** 129,134 ****
--- 129,139 ----
is_ip_pattern = 0;
break;
}
+ for(p = pattern; *p; p++)
+ if (!(isxdigit(*p) || *p == ':' || *p == '?' || *p == '*'))
+ break;
+ if (ip && !*p)
+ is_ip_pattern = 1;
if (is_ip_pattern)
{
return match_pattern(ip, pattern);