projects
/
invirt/packages/invirt-xen-config.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed xen.network -> xen.
[invirt/packages/invirt-xen-config.git]
/
vif-invirtroute
diff --git
a/vif-invirtroute
b/vif-invirtroute
index
8447805
..
c76a95e
100755
(executable)
--- a/
vif-invirtroute
+++ b/
vif-invirtroute
@@
-55,7
+55,7
@@
if [ ${vif_type} != "ioemu" -o x${qemu_online} = xyes ] ; then
# the guest using those addresses.
for addr in ${ip} ; do
${cmdprefix} ip route ${ipcmd} ${addr} dev ${dev} src ${main_ip}
# the guest using those addresses.
for addr in ${ip} ; do
${cmdprefix} ip route ${ipcmd} ${addr} dev ${dev} src ${main_ip}
- arpspoof -i $(invirt-getconf xen.network.iface) -t 18.181.0.1 ${addr}&
+ arpspoof -i $(invirt-getconf xen.iface) -t 18.181.0.1 ${addr}&
sleep 5
kill %arpspoof
done
sleep 5
kill %arpspoof
done