We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 163f63b commit e47e684Copy full SHA for e47e684
source/scripts/init/service.d/service_sshd.sh
@@ -208,7 +208,7 @@ do_start() {
208
commandString="$commandString -p [$CM_IPV4]:22"
209
fi
210
elif [ "$BOX_TYPE" = "WNXL11BWL" ]; then
211
- CM_IP=`ip -4 addr show dev $CMINTERFACE scope global | awk '/inet/{print $2}' | cut -d '/' -f1 | head -n1`
+ CM_IP=`ip -6 addr show dev $CMINTERFACE scope global | awk '/inet/{print $2}' | cut -d '/' -f1 | head -n1`
212
if [ ! -z $CM_IP ]; then
213
commandString="$commandString -p [$CM_IP]:22"
214
0 commit comments