mirror of
https://github.com/opnsense/src.git
synced 2026-07-05 15:26:58 -04:00
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
1 changed files with 0 additions and 2 deletions
|
|
@ -1852,7 +1852,6 @@ ip_forward(struct mbuf *m, int srcrt, struct sockaddr_in *next_hop)
|
|||
RTFREE(rt);
|
||||
}
|
||||
|
||||
{
|
||||
if (next_hop) {
|
||||
struct m_tag *mtag = m_tag_get(PACKET_TAG_IPFORWARD,
|
||||
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);
|
||||
}
|
||||
error = ip_output(m, (struct mbuf *)0, NULL, IP_FORWARDING, 0, NULL);
|
||||
}
|
||||
if (error)
|
||||
ipstat.ips_cantforward++;
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue