From d776bd3a4f338b917c6ba3cfb667bc0823e6577d Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Mon, 2 Apr 2012 16:39:37 -0700 Subject: [PATCH] Add handle 10: to netem for hifi compat, reconfiguration. --- mininet/link.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mininet/link.py b/mininet/link.py index 74d9720..9f46dcb 100644 --- a/mininet/link.py +++ b/mininet/link.py @@ -245,7 +245,8 @@ class TCIntf( Intf ): 'limit %d' % max_queue_size if max_queue_size is not None else '' ) if netemargs: - cmds = [ '%s qdisc add dev %s ' + parent + ' netem ' + + cmds = [ '%s qdisc add dev %s ' + parent + + ' handle 10: netem ' + netemargs ] return cmds