View | Details | Raw Unified | Return to bug 35667
Collapse All | Expand All

(-)PPPStats.C (-1 / +3 lines)
Lines 68-73 Link Here
68
	sprintf (ifreq.ifr_name, "%s%d",(const char*)options->device(),options->link());
68
	sprintf (ifreq.ifr_name, "%s%d",(const char*)options->device(),options->link());
69
69
70
	PPPStat = & PPPInfo->stats;
70
	PPPStat = & PPPInfo->stats;
71
    PPPStat->p.ppp_ibytes = 0;
72
    PPPStat->p.ppp_obytes = 0;
71
	memset (LastPPPStat, 0, sizeof (LastPPPStat));
73
	memset (LastPPPStat, 0, sizeof (LastPPPStat));
72
	
74
	
73
	get_command(ifreq.ifr_name);
75
	get_command(ifreq.ifr_name);
Lines 88-94 Link Here
88
	    }
90
	    }
89
	  }
91
	  }
90
	  PPPStat->p.ppp_ibytes = 0;
92
	  PPPStat->p.ppp_ibytes = 0;
91
          PPPStat->p.ppp_obytes = 0;
93
      PPPStat->p.ppp_obytes = 0;
92
	} else if ( !_isUp ) {
94
	} else if ( !_isUp ) {
93
	  _isUp = true;
95
	  _isUp = true;
94
	  killTimer( _retryId );
96
	  killTimer( _retryId );

Return to bug 35667