mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Set antispoof default to yes, as this seems safer, and is the current behaviour
in VifCtl. Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
739b1e205e
commit
e08da109cd
1 file changed
+2
-2
@@ -25,7 +25,7 @@
|
||||
# higher value than its default of 1.
|
||||
# bridge The bridge to use (default xenbr${vifnum}).
|
||||
# netdev The interface to add to the bridge (default eth${vifnum}).
|
||||
# antispoof Whether to use iptables to prevent spoofing (default no).
|
||||
# antispoof Whether to use iptables to prevent spoofing (default yes).
|
||||
#
|
||||
# start:
|
||||
# Creates the bridge and enslaves netdev to it.
|
||||
@@ -66,7 +66,7 @@ for arg ; do export "${arg}" ; done
|
||||
vifnum=${vifnum:-0}
|
||||
bridge=${bridge:-xenbr${vifnum}}
|
||||
netdev=${netdev:-eth${vifnum}}
|
||||
antispoof=${antispoof:-no}
|
||||
antispoof=${antispoof:-yes}
|
||||
|
||||
pdev="p${netdev}"
|
||||
vdev="veth${vifnum}"
|
||||
|
||||