upstream commit

make this work without SUDO set; ok dtucker@

Upstream-Regress-ID: bca88217b70bce2fe52b23b8e06bdeb82d98c715
This commit is contained in:
djm@openbsd.org 2015-05-29 03:05:13 +00:00 committed by Damien Miller
parent 1d9a2e2849
commit db438f9285
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: cfgparse.sh,v 1.4 2015/05/04 01:51:39 dtucker Exp $ # $OpenBSD: cfgparse.sh,v 1.5 2015/05/29 03:05:13 djm Exp $
# Placed in the Public Domain. # Placed in the Public Domain.
tid="config parse" tid="config parse"
@ -45,6 +45,7 @@ EOD
fail "listenaddress order 1" fail "listenaddress order 1"
# test 2: listenaddress first # test 2: listenaddress first
cat > $OBJ/sshd_config.1 <<EOD cat > $OBJ/sshd_config.1 <<EOD
${SSHD_KEYS}
listenaddress 1.2.3.4 listenaddress 1.2.3.4
listenaddress ::1 listenaddress ::1
port 1234 port 1234