aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc/netfix
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-06-29 19:45:18 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-06-29 19:45:18 +0000
commit0c73bd1bb647de6bd5a55cbddb683e2decae8a56 (patch)
treed0dc3b91c0fa176b1afe4bb22c8a37a34850f6c3 /tools/misc/netfix
parent0a61e6714d37bae173ce5d9910382f6275c6b13c (diff)
parent48e9a9c636cfbf00a1468f3a3dffe932e3e01a19 (diff)
downloadxen-0c73bd1bb647de6bd5a55cbddb683e2decae8a56.tar.gz
xen-0c73bd1bb647de6bd5a55cbddb683e2decae8a56.tar.bz2
xen-0c73bd1bb647de6bd5a55cbddb683e2decae8a56.zip
bitkeeper revision 1.1029 (40e1c6ce1NufVIrsLOg06kNbotFFZA)
Merge ssh://xenbk@gandalf.hpl.hp.com//var/bk/xeno-unstable.bk into scramble.cl.cam.ac.uk:/local/scratch/kaf24/hp.bk
Diffstat (limited to 'tools/misc/netfix')
-rw-r--r--tools/misc/netfix5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/misc/netfix b/tools/misc/netfix
index def4e28a6c..df38e438a1 100644
--- a/tools/misc/netfix
+++ b/tools/misc/netfix
@@ -1,5 +1,6 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- mode: python; -*-
+#============================================================================
# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
#============================================================================
# Move the IP address from eth0 onto the Xen bridge (nbe-br).
@@ -7,7 +8,7 @@
#============================================================================
from getopt import getopt
-from xen.xend.XendBridge import *
+from xen.util.Brctl import *
short_options = 'hvqni:b:c'
long_options = ['help', 'verbose', 'quiet',