Jason A. Smith wrote:
Inter-| Receive | Transmit
 face |bytes    packets errs drop fifo frame compressed
multicast|bytes    packets errs drop fifo colls carrier compressed
lo: 735841 8433 0 0 0 0 0 0 735841 8433 0 0 0 0 0 0 eth0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  eth1:82056844 100416551    0    0    0     0          0    765884
3806693211 89047873    0    0    0     0       0          0
  eth2:1758896984 21917526    0    0    0     0          0   5712707
2463675100 23055587    0    0    0     0       0          0
0
(gdb)

OK, so I'm a dummy and can't  count zeroes. :)

Try changing the while statement in pkts_out_func (or, well, actually all of the netcode functions, since it's the same one copied out four times :) ) to this:

     while ( (*p != 0x00 ) || (p < index(p,0x00) )

Untested but worth a shot.

Also, I'd check ifconfig and a couple other places to see if maybe your kernel thinks you have another network interface somewhere that isn't being loaded properly. Also worth a shot. :)


Reply via email to