summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_dummynet.c
diff options
context:
space:
mode:
authoroleg <oleg@FreeBSD.org>2006-06-08 11:13:23 +0000
committeroleg <oleg@FreeBSD.org>2006-06-08 11:13:23 +0000
commita2786b9de3cf6476a6352722252fea390d406c40 (patch)
treede91d5a856488e9e6e7c43867da3bd1b16177dae /sys/netinet/ip_dummynet.c
parentc20bb4b386f9bcfcb24a3547476ad8809943516c (diff)
downloadFreeBSD-src-a2786b9de3cf6476a6352722252fea390d406c40.zip
FreeBSD-src-a2786b9de3cf6476a6352722252fea390d406c40.tar.gz
Fix following rules: pipe X (tag|altq) Y ...
Approved by: glebius (mentor) MFC after: 2 weeks
Diffstat (limited to 'sys/netinet/ip_dummynet.c')
-rw-r--r--sys/netinet/ip_dummynet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/ip_dummynet.c b/sys/netinet/ip_dummynet.c
index 63a3e68..2c5cf1b 100644
--- a/sys/netinet/ip_dummynet.c
+++ b/sys/netinet/ip_dummynet.c
@@ -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();
OpenPOWER on IntegriCloud