]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: fix a misleading failure
authorWANG Cong <xiyou.wangcong@gmail.com>
Mon, 8 Aug 2016 23:24:45 +0000 (16:24 -0700)
committerStephen Hemminger <shemming@brocade.com>
Tue, 9 Aug 2016 18:18:14 +0000 (11:18 -0700)
commit6fcf36c9c66053f77aeab768c9c15c9a4868cb73
tree9aabc66f463aab1289e9ba01825301bf9c77b19d
parent592990ebf4326dc445812079473b729f2b78f2c2
tc: fix a misleading failure

Before this patch:

 # ./tc/tc actions add action drop index 11
 RTNETLINK answers: File exists
 We have an error talking to the kernel
 Command "(null)" is unknown, try "tc actions help".

After this patch:

 # ./tc/tc actions add action drop index 11
 RTNETLINK answers: File exists
 We have an error talking to the kernel

Cc: Stephen Hemminger <shemming@brocade.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
tc/m_action.c