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>
This commit is contained in:
Keir Fraser committed 2010-02-03 09:37:40 +00:00
1 parent e0b0cd61d2
commit 283444b7cd
1 file changed
+2 -2
+2 -2
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.