From 283444b7cd18dbeaedabc7f45ac105d43e32d42f Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 3 Feb 2010 09:37:40 +0000 Subject: 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 --- tools/remus/remus | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/remus') 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 -- cgit v1.2.3