+2005-10-07 Mike Frysinger <vapier@gentoo.org>
+
+ * Handle pfifo_fast that has no qopt without segfaulting
+
2005-10-05 Mads Martin Joergensen <mmj@suse.de>
* Trivial netem ccopts
int force = 0;
struct rtnl_handle rth;
-static void *BODY; /* cached handle dlopen(NULL) */
+static void *BODY = NULL; /* cached handle dlopen(NULL) */
static struct qdisc_util * qdisc_list;
static struct filter_util * filter_list;
addattr_l(&req.n, sizeof(req), TCA_RATE, &est, sizeof(est));
if (q) {
+ if (!q->parse_qopt) {
+ fprintf(stderr, "qdisc '%s' does not support option parsing\n", k);
+ return -1;
+ }
if (q->parse_qopt(q, argc, argv, &req.n))
return 1;
} else {