Increment outbound packet count, per Matt Kimmel.

This commit is contained in:
mycroft 1994-03-02 16:23:23 +00:00
parent a37cf2aecc
commit 81de6fa982
2 changed files with 8 additions and 4 deletions

View File

@ -9,7 +9,7 @@
/*
* 3COM Etherlink 3C501 device driver
*
* $Id: if_el.c,v 1.3 1994/03/01 05:41:26 mycroft Exp $
* $Id: if_el.c,v 1.4 1994/03/02 16:23:23 mycroft Exp $
*/
/*
@ -402,8 +402,10 @@ el_start(ifp)
}
} else
done = 1;
} else
} else {
sc->sc_arpcom.ac_if.if_opackets++;
done = 1;
}
}
if (done == -1)
/* Packet not transmitted. */

View File

@ -9,7 +9,7 @@
/*
* 3COM Etherlink 3C501 device driver
*
* $Id: if_el.c,v 1.3 1994/03/01 05:41:26 mycroft Exp $
* $Id: if_el.c,v 1.4 1994/03/02 16:23:23 mycroft Exp $
*/
/*
@ -402,8 +402,10 @@ el_start(ifp)
}
} else
done = 1;
} else
} else {
sc->sc_arpcom.ac_if.if_opackets++;
done = 1;
}
}
if (done == -1)
/* Packet not transmitted. */