You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/11/28 11:20:41 UTC
[incubator-nuttx] 03/06: style/script: remove unnecessary trailing
whitespace
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit e5f5f6657da29b9711f78eef740fe1b3ddae49da
Author: chao.an <an...@xiaomi.com>
AuthorDate: Sat Nov 28 14:51:35 2020 +0800
style/script: remove unnecessary trailing whitespace
N/A
Signed-off-by: chao.an <an...@xiaomi.com>
---
tools/simhostroute.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/simhostroute.sh b/tools/simhostroute.sh
index 4d15325..ff9c900 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