Skip to content

Commit a4f860d

Browse files
committed
Release v1.4.18: Release Fixes
1. Update scp.test to delete the empty test file. 2. In wolfSSHd, when coverting an IP address to a printable representation, the destination needs to be able to handle IPv6 addresses potentially.
1 parent 1a62256 commit a4f860d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

apps/wolfsshd/wolfsshd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ typedef struct WOLFSSHD_CONNECTION {
110110
WOLFSSHD_AUTH* auth;
111111
int fd;
112112
int listenFd;
113-
char ip[INET_ADDRSTRLEN];
113+
char ip[INET6_ADDRSTRLEN];
114114
byte isThreaded;
115115
} WOLFSSHD_CONNECTION;
116116

scripts/scp.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ create_port
141141
./examples/scpclient/wolfscp -u jill -P upthehill -p $port -L $PWD/does-not-exist:$PWD/empty
142142
RESULT=$?
143143
remove_ready_file
144+
rm -f $PWD/scripts/empty
144145

145146
if test $RESULT -eq 0; then
146147
echo -e "\n\nshould fail out sending a file that does not exist"

0 commit comments

Comments
 (0)