- tc("filter replace dev %s parent 1:1 protocol ip prio 1 handle %d fw flowid 1:%x" % \
- (dev, default_minor | xid, default_minor | xid))
-
- # Create the ebtables rule to mark the packets going out from the virtual
- # interface to the actual device so the filter canmatch against the mark
- # We remove and readd the rule because this method is called each time the
- # bandwidth limit is changed
- ebtables("-D INPUT -i veth%d -j mark --set-mark %d" % \
- (xid, default_minor | xid))
- ebtables("-A INPUT -i veth%d -j mark --set-mark %d" % \
- (xid, default_minor | xid))
-
+ tc("filter replace dev %s parent 1: protocol ip prio 1 handle %d fw flowid 1:%x" % \
+ (dev, xid, default_minor | xid))