diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2005-04-06 00:26:08 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2005-04-06 00:26:08 +0000 |
| commit | a0d17f7e98e541c602fb8ea593d83c725d851ff3 (patch) | |
| tree | 463d7c928ca7e86f8fa0c4e7d0e25de973fd7286 /sys/netinet/ip_dummynet.c | |
| parent | d742d25bc389241f7144c22a8794268409f789f1 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/ip_dummynet.c')
| -rw-r--r-- | sys/netinet/ip_dummynet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_dummynet.c b/sys/netinet/ip_dummynet.c index 596aca8c5892..0a93a2f0c9f1 100644 --- a/sys/netinet/ip_dummynet.c +++ b/sys/netinet/ip_dummynet.c @@ -1065,7 +1065,7 @@ locate_flowset(int pipe_nr, struct ip_fw *rule) { #if IPFW2 struct dn_flow_set *fs; - ipfw_insn *cmd = rule->cmd + rule->act_ofs; + ipfw_insn *cmd = ACTION_PTR(rule); if (cmd->opcode == O_LOG) cmd += F_LEN(cmd); @@ -1132,7 +1132,7 @@ dummynet_io(struct mbuf *m, int dir, struct ip_fw_args *fwa) struct dn_flow_queue *q = NULL ; int is_pipe; #if IPFW2 - ipfw_insn *cmd = fwa->rule->cmd + fwa->rule->act_ofs; + ipfw_insn *cmd = ACTION_PTR(fwa->rule); #endif KASSERT(m->m_nextpkt == NULL, |
