summaryrefslogtreecommitdiff
path: root/security/ssh6/patches/patch-bc
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-03-20 02:25:29 +0000
committeritojun <itojun@pkgsrc.org>2000-03-20 02:25:29 +0000
commit394061aa313a2edbc0bdaf71a893a380fd4c7a41 (patch)
tree92efc0c35d41de21ab00c3055913411c99f0a74a /security/ssh6/patches/patch-bc
parent22ff163b2d30a8c6a123ae7814f5ac837a5e7c56 (diff)
downloadpkgsrc-394061aa313a2edbc0bdaf71a893a380fd4c7a41.tar.gz
split security/ssh and security/ssh6.
security/ssh6: IPv4/v6 ready, socks unavailable, kerberos available (not tested) security/ssh: IPv4 onlyready, socks available, kerberos available (not tested) should be integrated into one whenever socks support becomes aware of getaddrinfo/getnameinfo. two directories with tons of patches/patch-* is a maintenance headache.
Diffstat (limited to 'security/ssh6/patches/patch-bc')
-rw-r--r--security/ssh6/patches/patch-bc16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/ssh6/patches/patch-bc b/security/ssh6/patches/patch-bc
new file mode 100644
index 00000000000..d3ed2bdddbe
--- /dev/null
+++ b/security/ssh6/patches/patch-bc
@@ -0,0 +1,16 @@
+$NetBSD: patch-bc,v 1.1 2000/03/20 02:25:42 itojun Exp $
+
+--- match.c.orig Wed May 12 07:19:27 1999
++++ match.c Fri Dec 24 21:50:42 1999
+@@ -129,6 +129,11 @@
+ 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);