mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126368
@ -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 New Issue
Block a user