Browse Source

fxied bug in ip address validation

Serghey Rodin 13 years ago
parent
commit
fe1b3cfddd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-add-sys-ip

+ 1 - 1
bin/v-add-sys-ip

@@ -15,7 +15,7 @@
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
 # Argument defenition
 # Argument defenition
-ip=$1
+ip=${1// /}
 mask=$2
 mask=$2
 interface="${3-eth0}"
 interface="${3-eth0}"
 user="${4-admin}"
 user="${4-admin}"