1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-27 21:15:37 +00:00

Final fixes before release 1.7.3.0

This commit is contained in:
Gerhard Rieger 2015-01-24 18:40:03 +01:00
parent 053c4565b3
commit b6541b4de7
7 changed files with 736 additions and 15 deletions

View file

@ -1770,6 +1770,7 @@ runsip4 () {
SunOS) l=$($IFCONFIG -a |grep 'inet ') ;;
Darwin)l=$($IFCONFIG lo0 |fgrep 'inet 127.0.0.1 ') ;;
DragonFly)l=$($IFCONFIG -a |fgrep 'inet 127.0.0.1 ');;
CYGWIN*) l=$(ipconfig |grep IPv4);;
*) l=$($IFCONFIG -a |grep ' ::1[^:0-9A-Fa-f]') ;;
esac
[ -z "$l" ] && return 1
@ -1796,6 +1797,7 @@ runsip6 () {
OSF1) l=$($IFCONFIG -a |grep ' inet6 ') ;;
SunOS) l=$($IFCONFIG -a |grep 'inet6 ') ;;
Darwin)l=$($IFCONFIG lo0 |grep 'inet6 ::1 ') ;;
CYGWIN*) l=$(ipconfig |grep IPv6);;
*) l=$($IFCONFIG -a |grep ' ::1[^:0-9A-Fa-f]') ;;
esac
[ -z "$l" ] && return 1
@ -2142,7 +2144,7 @@ waittcp6port () {
done
$ECHO "!port $port timed out! \c" >&2
echo set ${vx}vx >&2
#echo set ${vx}vx >&2
set ${vx}vx
return 1
}