Remove unneeded {} originally used to hold local variables for dummynet
in a code block, as the variable is now gone. Submitted by: sam
This commit is contained in:
parent
a3193a9ca3
commit
768bbd68cc
@ -1852,7 +1852,6 @@ ip_forward(struct mbuf *m, int srcrt, struct sockaddr_in *next_hop)
|
|||||||
RTFREE(rt);
|
RTFREE(rt);
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
|
||||||
if (next_hop) {
|
if (next_hop) {
|
||||||
struct m_tag *mtag = m_tag_get(PACKET_TAG_IPFORWARD,
|
struct m_tag *mtag = m_tag_get(PACKET_TAG_IPFORWARD,
|
||||||
sizeof(struct sockaddr_in *), M_NOWAIT);
|
sizeof(struct sockaddr_in *), M_NOWAIT);
|
||||||
@ -1864,7 +1863,6 @@ ip_forward(struct mbuf *m, int srcrt, struct sockaddr_in *next_hop)
|
|||||||
m_tag_prepend(m, mtag);
|
m_tag_prepend(m, mtag);
|
||||||
}
|
}
|
||||||
error = ip_output(m, (struct mbuf *)0, NULL, IP_FORWARDING, 0, NULL);
|
error = ip_output(m, (struct mbuf *)0, NULL, IP_FORWARDING, 0, NULL);
|
||||||
}
|
|
||||||
if (error)
|
if (error)
|
||||||
ipstat.ips_cantforward++;
|
ipstat.ips_cantforward++;
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user