openbsd_network: Remove shadowing variable.
This commit is contained in:
@@ -20,7 +20,7 @@ if_input_openbsd(if_t ifp, struct mbuf_list* ml)
|
|||||||
while (mb != NULL) {
|
while (mb != NULL) {
|
||||||
// if_input takes only the first packet, it ignores mb->m_nextpkt.
|
// if_input takes only the first packet, it ignores mb->m_nextpkt.
|
||||||
next = mb->m_nextpkt;
|
next = mb->m_nextpkt;
|
||||||
int status = if_input(ifp, mb);
|
status = if_input(ifp, mb);
|
||||||
if (status != 0)
|
if (status != 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user