diff options
author | Thomas Graf <tgraf@suug.ch> | 2011-03-21 14:51:52 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2011-03-21 14:51:52 (GMT) |
commit | 8eb5b5532eae985a5f0911dccf2db8cb4e0a5de4 (patch) | |
tree | 0fec48d114edbb535bd234f2684acccf81447d13 /src/nl-qdisc-list.c | |
parent | 5dc897d5de9f54078221b241e0122713207f5e0c (diff) | |
download | libnl-8eb5b5532eae985a5f0911dccf2db8cb4e0a5de4.zip libnl-8eb5b5532eae985a5f0911dccf2db8cb4e0a5de4.tar.gz libnl-8eb5b5532eae985a5f0911dccf2db8cb4e0a5de4.tar.bz2 |
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-qdisc-list.c')
-rw-r--r-- | src/nl-qdisc-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nl-qdisc-list.c b/src/nl-qdisc-list.c index 670fa3d..5b0a3f0 100644 --- a/src/nl-qdisc-list.c +++ b/src/nl-qdisc-list.c @@ -170,7 +170,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_qdisc_parse_kind(qdisc, optarg); break; + case 'k': nl_cli_tc_parse_kind(tc, optarg); break; } } |