• Jamal Hadi Salim's avatar
    actions: correctly report the number of actions flushed · 288abf51
    Jamal Hadi Salim authored
    This also fixes a long standing bug of not sanely reporting the
    action chain ordering
    
    Sample scenario test
    
    on window 1(event window):
    run "tc monitor" and observe events
    
    on window 2:
    sudo tc actions add action drop index 10
    sudo tc actions add action ok index 12
    sudo tc actions ls action gact
    sudo tc actions flush action gact
    
    See the event window reporting two entries
    (doing another listing should show empty generic actions)
    Signed-off-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
    288abf51
m_action.c 13.3 KB