patch-2.4.19 linux-2.4.19/drivers/isdn/isdn_ppp.c
Next file: linux-2.4.19/drivers/isdn/pcbit/capi.h
Previous file: linux-2.4.19/drivers/isdn/isdn_common.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/isdn/isdn_ppp.c
- Orig date:
Fri Dec 21 09:41:54 2001
diff -urN linux-2.4.18/drivers/isdn/isdn_ppp.c linux-2.4.19/drivers/isdn/isdn_ppp.c
@@ -1786,8 +1786,10 @@
memset(&t, 0, sizeof(struct ppp_stats));
if (dev->flags & IFF_UP) {
t.p.ppp_ipackets = lp->stats.rx_packets;
+ t.p.ppp_ibytes = lp->stats.rx_bytes;
t.p.ppp_ierrors = lp->stats.rx_errors;
t.p.ppp_opackets = lp->stats.tx_packets;
+ t.p.ppp_obytes = lp->stats.tx_bytes;
t.p.ppp_oerrors = lp->stats.tx_errors;
#ifdef CONFIG_ISDN_PPP_VJ
if (slot >= 0 && ippp_table[slot]->slcomp) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)