ia64/xen-unstable

changeset 4227:697ebfe04406

bitkeeper revision 1.1236.1.94 (423d8424xa3IjKUn_8z0s4Bbep3LKA)

Trivial nits in the network-nat script..
signed-off by Nivedita Singhvi (niv@us.ibm.com)
author iap10@firebug.cl.cam.ac.uk
date Sun Mar 20 14:09:40 2005 +0000 (2005-03-20)
parents 720d41954256
children e65dba35e87c
files tools/examples/network-nat
line diff
     1.1 --- a/tools/examples/network-nat	Sun Mar 20 14:03:52 2005 +0000
     1.2 +++ b/tools/examples/network-nat	Sun Mar 20 14:09:40 2005 +0000
     1.3 @@ -1,18 +1,18 @@
     1.4  #!/bin/sh
     1.5  #============================================================================
     1.6 -# Default Xen network start/stop script.
     1.7 +# Default Xen network start/stop script when using NAT.
     1.8  # Xend calls a network script when it starts.
     1.9  # The script name to use is defined in /etc/xen/xend-config.sxp
    1.10  # in the network-script field.
    1.11  #
    1.12  # Usage:
    1.13  #
    1.14 -# network-route (start|stop|status) {VAR=VAL}*
    1.15 +# network-nat (start|stop|status) {VAR=VAL}*
    1.16  #
    1.17  # Vars:
    1.18  #
    1.19  # netdev     The gateway interface (default eth0).
    1.20 -# antispoof  Whether to use iptables to prevent spoofing (default yes).
    1.21 +# antispoof  Whether to use iptables to prevent spoofing (default no).
    1.22  #
    1.23  #============================================================================
    1.24  
    1.25 @@ -30,7 +30,7 @@ for arg ; do export "${arg}" ; done
    1.26  
    1.27  netdev=${netdev:-eth0}
    1.28  # antispoofing not yet implemented
    1.29 -antispoof=${antispoof:-yes}
    1.30 +antispoof=${antispoof:-no}
    1.31  
    1.32  echo "network-nat $OP netdev=$netdev antispoof=$antispoof"
    1.33