--- src/sys/netinet/ip_output.c 2005/03/04 04:38:47 1.27 +++ src/sys/netinet/ip_output.c 2005/04/18 14:26:57 1.28 @@ -151,7 +151,6 @@ ip_output(struct mbuf *m0, struct mbuf * args.eh = NULL; args.rule = NULL; args.next_hop = NULL; - args.divert_rule = 0; /* divert cookie */ /* Grab info from MT_TAG mbufs prepended to the chain. */ while (m0 != NULL && m0->m_type == MT_TAG) { @@ -170,9 +169,6 @@ ip_output(struct mbuf *m0, struct mbuf * ifp = ((struct dn_pkt *)m0)->ifp ; flags = ((struct dn_pkt *)m0)->flags ; break; - case PACKET_TAG_DIVERT: - args.divert_rule = (int)m0->m_data & 0xffff; - break; case PACKET_TAG_IPFORWARD: args.next_hop = (struct sockaddr_in *)m0->m_data; break; @@ -795,7 +791,7 @@ spd_done: ip->ip_off = htons(ip->ip_off); /* Deliver packet to divert input routine */ - divert_packet(m, 0, off & 0xffff, args.divert_rule); + divert_packet(m, 0, off & 0xffff); /* If 'tee', continue with original packet */ if (clone != NULL) {