diff options
| author | Luigi Rizzo <luigi@FreeBSD.org> | 1999-11-26 13:38:38 +0000 |
|---|---|---|
| committer | Luigi Rizzo <luigi@FreeBSD.org> | 1999-11-26 13:38:38 +0000 |
| commit | 97eef7a334a384b64c9f2c604214053224574087 (patch) | |
| tree | 8617cea60b2a0d0010739ff8976bed11d1e5d1b4 | |
| parent | 073f2aa1a4a0312345081e58f648597e097215d8 (diff) | |
Notes
| -rw-r--r-- | sys/netinet/ip_dummynet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_dummynet.c b/sys/netinet/ip_dummynet.c index f0acebb91797..70173674da0b 100644 --- a/sys/netinet/ip_dummynet.c +++ b/sys/netinet/ip_dummynet.c @@ -216,11 +216,11 @@ dn_move(struct dn_pipe *pipe, int immediate) */ switch (pkt->dn_dir) { case DN_TO_IP_OUT: { - struct rtentry *tmp_rt = pkt->ro.ro_rt ; + struct route *ro = &(pkt->ro) ; (void)ip_output((struct mbuf *)pkt, (struct mbuf *)pkt->ifp, - &(pkt->ro), pkt->dn_dst, NULL); - rt_unref (tmp_rt) ; + ro, pkt->dn_dst, NULL); + rt_unref (ro->ro_rt) ; } break ; case DN_TO_IP_IN : |
