Skip to contentSkip to conversation

Getting natpicky..

PATCH New Nivedita Singhvi 1 participant 1 message Feb 27, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Getting natpicky..

Trivial nits in the network-nat script..

signed-off by Nivedita Singhvi ([email protected])

thanks,
Nivedita

---
Nivedita Singhvi
[email protected]
[email protected]

network-nat.new renamed from network-nat +4 -4
@@ -1,18 +1,18 @@
 #!/bin/sh
 #============================================================================
-# Default Xen network start/stop script.
+# Default Xen network start/stop script when using NAT.
 # Xend calls a network script when it starts.
 # The script name to use is defined in /etc/xen/xend-config.sxp
 # in the network-script field.
 #
 # Usage:
 #
-# network-route (start|stop|status) {VAR=VAL}*
+# network-nat (start|stop|status) {VAR=VAL}*
 #
 # Vars:
 #
 # netdev     The gateway interface (default eth0).
-# antispoof  Whether to use iptables to prevent spoofing (default yes).
+# antispoof  Whether to use iptables to prevent spoofing (default no).
 #
 #============================================================================
 
@@ -30,7 +30,7 @@
 
 netdev=${netdev:-eth0}
 # antispoofing not yet implemented
-antispoof=${antispoof:-yes}
+antispoof=${antispoof:-no}
 
 echo "network-nat $OP netdev=$netdev antispoof=$antispoof"