From e837c32545358fa15a790f43a61173acf53548c3 Mon Sep 17 00:00:00 2001 From: andre Date: Mon, 13 Sep 2004 17:09:06 +0000 Subject: Make comments more clear for the packet changed cases after pfil hooks. --- sys/netinet/ip_output.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/netinet/ip_output.c') diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 025f446..d50beef 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -671,6 +671,7 @@ spd_done: /* See if destination IP address was changed by packet filter. */ if (odst.s_addr != ip->ip_dst.s_addr) { m->m_flags |= M_SKIP_FIREWALL; + /* If destination is now ourself drop to ip_input(). */ if (in_localip(ip->ip_dst)) { m->m_flags |= M_FASTFWD_OURS; if (m->m_pkthdr.rcvif == NULL) @@ -686,7 +687,7 @@ spd_done: error = netisr_queue(NETISR_IP, m); goto done; } else - goto again; + goto again; /* Redo the routing table lookup. */ } #ifdef IPFIREWALL_FORWARD -- cgit v1.1