From e5f5f6657da29b9711f78eef740fe1b3ddae49da Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Sat, 28 Nov 2020 14:51:35 +0800 Subject: [PATCH] style/script: remove unnecessary trailing whitespace N/A Signed-off-by: chao.an --- tools/simhostroute.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/simhostroute.sh b/tools/simhostroute.sh index 4d153251ae..ff9c900014 100755 --- a/tools/simhostroute.sh +++ b/tools/simhostroute.sh @@ -21,7 +21,7 @@ #**************************************************************************** # Helper script to set up host route to NuttX simulator -# and set up IP Tables to allow it to access the +# and set up IP Tables to allow it to access the # internet. # # This script needs to be run as root. @@ -51,7 +51,7 @@ if [ "$STATUS" == "on" ]; then ifconfig $IF_BRIDGE $IP_HOST ifconfig $IF_BRIDGE up ifconfig -a - ip addr add $IP_HOST dev $IF_BRIDGE + ip addr add $IP_HOST dev $IF_BRIDGE ifconfig $IF_BRIDGE netmask $IP_NETMASK ip route delete $IP_NET ip route add $IP_NET dev $IF_BRIDGE src $IP_HOST