diff options
author | Thomas Graf <tgraf@suug.ch> | 2011-03-21 15:51:52 +0100 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2011-03-21 15:51:52 +0100 |
commit | 8eb5b5532eae985a5f0911dccf2db8cb4e0a5de4 (patch) | |
tree | 0fec48d114edbb535bd234f2684acccf81447d13 /src/nl-cls-delete.c | |
parent | 5dc897d5de9f54078221b241e0122713207f5e0c (diff) | |
download | libnl-8eb5b5532eae985a5f0911dccf2db8cb4e0a5de4.tar.gz |
Unified TC API
Finally got rid of all the qdisc/class/cls code duplication in
the tc module API. The API takes care of allocation/freeing the
tc object specific data.
I hope I got it right this time.
Diffstat (limited to 'src/nl-cls-delete.c')
-rw-r--r-- | src/nl-cls-delete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nl-cls-delete.c b/src/nl-cls-delete.c index 359d15e..7d998fd 100644 --- a/src/nl-cls-delete.c +++ b/src/nl-cls-delete.c @@ -135,7 +135,7 @@ int main(int argc, char *argv[]) case 'd': nl_cli_tc_parse_dev(tc, link_cache, optarg); break; case 'p': nl_cli_tc_parse_parent(tc, optarg); break; case 'i': nl_cli_tc_parse_handle(tc, optarg, 0); break; - case 'k': nl_cli_cls_parse_kind(cls, optarg); break; + case 'k': nl_cli_tc_parse_kind(tc, optarg); break; case ARG_PROTO: nl_cli_cls_parse_proto(cls, optarg); break; case ARG_PRIO: rtnl_cls_set_prio(cls, nl_cli_parse_u32(optarg)); |