<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi,<br>
I think I have just found a bug in HTB class prio setting. In file
lib/route/qdisc/htb.c in function htb_class_msg_fill there is an
if block, which sets the prio parameter into the opts object. But
right after this section there is a memset function which actually
clears the opts object and the prio setting is discarded. The
resolution of this bug is to move the memset function before the
if block. Everything is fine then.<br>
<br>
Richard Cesar<br>
</font>
</body>
</html>