diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2019-01-23 21:50:57 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2019-01-23 21:50:57 +0000 |
commit | c99fc7b3c42fb829d37a1ec8f19464459457b1de (patch) | |
tree | 68e643364e66b3dcf8778095ebaa5b745ac3bdf2 /usr.bin/ssh/misc.h | |
parent | ea8e367b963886511b3d2f495aabab764bfc7597 (diff) |
Remove support for obsolete host/port syntax.
host/port was added in 2001 as an alternative to host:port syntax for
the benefit of IPv6 users. These days there are establised standards
for this like [::1]:22 and the slash syntax is easily mistaken for CIDR
notation, which OpenSSH now supports for some things. Remove the slash
notation from ListenAddress and PermitOpen. bz#2335, patch from jjelen
at redhat.com, ok markus@
Diffstat (limited to 'usr.bin/ssh/misc.h')
-rw-r--r-- | usr.bin/ssh/misc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/misc.h b/usr.bin/ssh/misc.h index f9a6ee9d6e4..5428124308f 100644 --- a/usr.bin/ssh/misc.h +++ b/usr.bin/ssh/misc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.h,v 1.78 2018/12/27 03:25:25 djm Exp $ */ +/* $OpenBSD: misc.h,v 1.79 2019/01/23 21:50:56 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -57,6 +57,7 @@ int timeout_connect(int, const struct sockaddr *, socklen_t, int *); int a2port(const char *); int a2tun(const char *, int *); char *put_host_port(const char *, u_short); +char *hpdelim2(char **, char *); char *hpdelim(char **); char *cleanhostname(char *); char *colon(char *); |