diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2019-01-23 22:50:56 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-01-24 02:30:30 +0100 |
commit | d05ea255678d9402beda4416cd0360f3e5dfe938 (patch) | |
tree | 90ba5b611675fe92e2938c1e5b0206183c5f42e3 /misc.h | |
parent | upstream: Remove duplicate word. bz#2958, patch from jjelen at (diff) | |
download | openssh-d05ea255678d9402beda4416cd0360f3e5dfe938.tar.xz openssh-d05ea255678d9402beda4416cd0360f3e5dfe938.zip |
upstream: 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@
OpenBSD-Commit-ID: fae5f4e23c51a368d6b2d98376069ac2b10ad4b7
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 *); |