|
|
|
@ -179,7 +179,7 @@ for ID_RANGE_V4 in ${ID_RANGES_V4}; do
|
|
|
|
|
|
|
|
|
|
# If the previous command fails, it’s because trafic has
|
|
|
|
|
# already be sent to the VM
|
|
|
|
|
if [ $? =2 ]; then
|
|
|
|
|
if [ $? = 2 ]; then
|
|
|
|
|
ip neigh replace ${VM_IPV4} lladdr ${MAC} dev tap${VM_ID}i0
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
@ -222,7 +222,7 @@ for ID_RANGE_V6 in ${ID_RANGES_V6}; do
|
|
|
|
|
|
|
|
|
|
# If the previous command fails, it’s because trafic has
|
|
|
|
|
# already be sent to the VM
|
|
|
|
|
if [ $? =2 ]; then
|
|
|
|
|
if [ $? = 2 ]; then
|
|
|
|
|
ip neigh replace ${VM_NH} lladdr ${MAC} dev tap${VM_ID}i0
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|