summaryrefslogtreecommitdiffstats
path: root/src/nl-class-delete.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2011-03-21 14:51:52 (GMT)
committerThomas Graf <tgraf@suug.ch>2011-03-21 14:51:52 (GMT)
commit8eb5b5532eae985a5f0911dccf2db8cb4e0a5de4 (patch)
tree0fec48d114edbb535bd234f2684acccf81447d13 /src/nl-class-delete.c
parent5dc897d5de9f54078221b241e0122713207f5e0c (diff)
downloadlibnl-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-class-delete.c')
-rw-r--r--src/nl-class-delete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nl-class-delete.c b/src/nl-class-delete.c
index 3c5cdc1..3df5a9a 100644
--- a/src/nl-class-delete.c
+++ b/src/nl-class-delete.c
@@ -110,7 +110,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_class_parse_kind(class, optarg); break;
+ case 'k': nl_cli_tc_parse_kind(tc, optarg); break;
}
}