summaryrefslogtreecommitdiff
path: root/nocompile/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'nocompile/libexec')
-rwxr-xr-xnocompile/libexec/gopherd.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/nocompile/libexec/gopherd.sh b/nocompile/libexec/gopherd.sh
index 3b44296..d710f80 100755
--- a/nocompile/libexec/gopherd.sh
+++ b/nocompile/libexec/gopherd.sh
@@ -22,7 +22,8 @@ if grep -v "^${base}" <<< "${realpath}" > /dev/null;then
echo -e 'ierror!!! cant find base in realpath\tasdf\tasdf\tasdf\r'
exit 1
fi
-myIP=$(hop0 $(/usr/local/libexec/peerip | head -n1) | cut -d% -f1)
+#myIP=$(hop0 $(/usr/local/libexec/peerip | head -n1) | cut -d% -f1)
+myIP=$(/usr/local/libexec/sockip | head -n1 | cut -d% -f1)
hostname=$(rdns ${myIP})
if [ ! "${hostname}" ]; then
hostname=${myIP}