Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/scripts/init/service.d/service_sshd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ do_start() {
#getting the IPV4 address for V4 CM SSH packets
if [ "$WAN_INTERFACE" = "$DEFAULT_WAN_INTERFACE" ] ; then
if [ -f "/nvram/ETHWAN_ENABLE" ];then
# CM_IPV4=`ifconfig privbr:0 | grep "inet addr" | awk '/inet/{print $2}' | cut -f2 -d:`
# else
CM_IPV4=`ip -4 addr show dev $CMINTERFACE scope global | awk '/inet/{print $2}' | cut -d '/' -f1`
else
CM_IPV4=`ifconfig privbr:0 | grep "inet addr" | awk '/inet/{print $2}' | cut -f2 -d:`
Comment on lines 171 to 174
fi
Comment thread
rirfha948 marked this conversation as resolved.
else
Expand Down
Loading