commit | 14a1c164d12e32415acc44ef566fcf52ff4dd113 | [log] [tgz] |
---|---|---|
author | Vijay Subramanian <subramanian.vijay@gmail.com> | Fri Jan 20 09:50:25 2012 -0800 |
committer | Stephen Hemminger <shemminger@vyatta.com> | Fri Jan 20 11:21:58 2012 -0800 |
tree | a8a9e1fa7fe31bdd78c4b9e44fd44386f9c429ce | |
parent | fdeae171e52845b465971566c9a14498dda34307 [diff] |
netem: Fail cleanly if user input is wrong (Resending patch since it looks like my earlier mail did not make it to netdev). netem reordering requires that the delay parameter be given. Currently, if no delay is given, tc prints the error message but still installs the qdisc. Fix this by printing the usage and failing cleanly. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>