Fix whitespace

This commit is contained in:
Vincent Legoll 2017-08-11 11:23:32 +02:00
parent 6b3d8d97c4
commit 246585aafe
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ EOF
postcreation=$(ip tuntap list | cut -d: -f1 | sort) postcreation=$(ip tuntap list | cut -d: -f1 | sort)
TAPIF=$(comm -13 <(echo "$precreationg") <(echo "$postcreation")) TAPIF=$(comm -13 <(echo "$precreationg") <(echo "$postcreation"))
[[ "$MAC" == "" ]] && printf -v MAC "52:54:%02x:%02x:%02x:%02x" \ [[ "$MAC" == "" ]] && printf -v MAC "52:54:%02x:%02x:%02x:%02x" \
$(( $RANDOM & 0xff)) $(( $RANDOM & 0xff )) $(( $RANDOM & 0xff)) $(( $RANDOM & 0xff )) $(( $RANDOM & 0xff )) $(( $RANDOM & 0xff )) $(( $RANDOM & 0xff )) $(( $RANDOM & 0xff ))
NET_ARGS="-net nic,macaddr=$MAC -net tap,ifname=$TAPIF" NET_ARGS="-net nic,macaddr=$MAC -net tap,ifname=$TAPIF"
} }