Fix following rules: pipe X (tag|altq) Y ...

Approved by:	glebius (mentor)
MFC after:	2 weeks
This commit is contained in:
Oleg Bulyzhin 2006-06-08 11:13:23 +00:00
parent 953c72a48f
commit d2dc1907e8

View File

@ -1147,6 +1147,10 @@ dummynet_io(struct mbuf *m, int dir, struct ip_fw_args *fwa)
if (cmd->opcode == O_LOG)
cmd += F_LEN(cmd);
if (cmd->opcode == O_ALTQ)
cmd += F_LEN(cmd);
if (cmd->opcode == O_TAG)
cmd += F_LEN(cmd);
is_pipe = (cmd->opcode == O_PIPE);
DUMMYNET_LOCK();