ia64/xen-unstable

changeset 1632:ea6c58ad7317

bitkeeper revision 1.1037 (40e290ba5o-HQbkksYbWqkMLR6_opw)

Mis-spelt key.
author mjw@wray-m-3.hpl.hp.com
date Wed Jun 30 10:06:50 2004 +0000 (2004-06-30)
parents 3741687c682a
children 24b6048583ea
files tools/examples/vifctl
line diff
     1.1 --- a/tools/examples/vifctl	Wed Jun 30 10:03:22 2004 +0000
     1.2 +++ b/tools/examples/vifctl	Wed Jun 30 10:06:50 2004 +0000
     1.3 @@ -138,10 +138,10 @@ class VifControl:
     1.4          params = self.vifparams(args[1:])
     1.5          # Remove the vif from its bridge.
     1.6          Brctl.vif_bridge_rem(params)
     1.7 -        if params['ip']:
     1.8 +        if params['ipaddr']:
     1.9              # Remove iptables rules for the ip addresses.
    1.10              vif = params['vif']
    1.11 -            for ip in params['ip']:
    1.12 +            for ip in params['ipaddr']:
    1.13                 Brctl.vif_restrict_addr(vif, ip, delete=1)
    1.14  
    1.15