debuggers.hg

changeset 20927:62ce32978d2e

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>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Feb 03 09:37:40 2010 +0000 (2010-02-03)
parents 0e453e4d932d
children 09dd83d09f49
files tools/remus/remus
line diff
     1.1 --- a/tools/remus/remus	Wed Feb 03 09:36:37 2010 +0000
     1.2 +++ b/tools/remus/remus	Wed Feb 03 09:37:40 2010 +0000
     1.3 @@ -199,8 +199,8 @@ class Netbuffer(BufferedDevice):
     1.4          for mod in ['sch_queue', 'imq', 'ebt_imq']:
     1.5              util.runcmd(['modprobe', mod])
     1.6          util.runcmd("ip link set %s up" % (imqdev))
     1.7 -        util.runcmd("ebtables -F FORWARD")
     1.8 -        util.runcmd("ebtables -A FORWARD -i %s -j imq --todev %s" % (vid, imqdev))
     1.9 +        util.runcmd("%s -F FORWARD" % (imqebt))
    1.10 +        util.runcmd("%s -A FORWARD -i %s -j imq --todev %s" % (imqebt, vid, imqdev))
    1.11  
    1.12          return imqdev
    1.13