diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-02-03 09:37:40 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-02-03 09:37:40 +0000 |
commit | 283444b7cd18dbeaedabc7f45ac105d43e32d42f (patch) | |
tree | de5af4210fb9cb76e4c24fd53f457def255592b7 /tools/remus | |
parent | e0b0cd61d2ffde48d7fc69623c4a59005a4c58af (diff) | |
download | xen-283444b7cd18dbeaedabc7f45ac105d43e32d42f.tar.gz xen-283444b7cd18dbeaedabc7f45ac105d43e32d42f.tar.bz2 xen-283444b7cd18dbeaedabc7f45ac105d43e32d42f.zip |
Remus: use imqebt instead of ebtables
I added a standalone IMQ-aware ebtables version in the initial Remus
submission, but forgot to actually activate it. This fixes that
oversight.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
Diffstat (limited to 'tools/remus')
-rw-r--r-- | tools/remus/remus | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/remus/remus b/tools/remus/remus index 53d9d7b5af..d5c8b9ce39 100644 --- a/tools/remus/remus +++ b/tools/remus/remus @@ -199,8 +199,8 @@ class Netbuffer(BufferedDevice): for mod in ['sch_queue', 'imq', 'ebt_imq']: util.runcmd(['modprobe', mod]) util.runcmd("ip link set %s up" % (imqdev)) - util.runcmd("ebtables -F FORWARD") - util.runcmd("ebtables -A FORWARD -i %s -j imq --todev %s" % (vid, imqdev)) + util.runcmd("%s -F FORWARD" % (imqebt)) + util.runcmd("%s -A FORWARD -i %s -j imq --todev %s" % (imqebt, vid, imqdev)) return imqdev |