diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-02-28 19:50:43 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-02-28 19:50:43 +0000 |
commit | 2336a6f7fe6b07e8105d84018cba8049b4e7dc73 (patch) | |
tree | 4403dc2a4d4675efe392acb6a3e046c98be09272 /sys | |
parent | 0810203f400a00c493ca888054ecef05fd79854c (diff) | |
download | FreeBSD-src-2336a6f7fe6b07e8105d84018cba8049b4e7dc73.zip FreeBSD-src-2336a6f7fe6b07e8105d84018cba8049b4e7dc73.tar.gz |
Remove unneeded {} originally used to hold local variables for dummynet
in a code block, as the variable is now gone.
Submitted by: sam
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_input.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 5c9727d..8100a62 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -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 { |