diff options
author | Dimitri Staessens <[email protected]> | 2018-02-26 10:42:05 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2018-02-26 11:35:56 +0100 |
commit | 4159e60f9b61dd5c8ac33cd2dea3ff81945c06ce (patch) | |
tree | 8f51d12476b17efb18ffa76cfd7cdf8e055e79f7 /src/ipcpd/normal/dt.c | |
parent | e186bf3c3ee4d2eb91a22b6921726eac9b815130 (diff) | |
download | ouroboros-4159e60f9b61dd5c8ac33cd2dea3ff81945c06ce.tar.gz ouroboros-4159e60f9b61dd5c8ac33cd2dea3ff81945c06ce.zip |
ipcpd: Fix flow statistic
There was a wrong rcv_bytes where it should have been snd_bytes.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/normal/dt.c')
-rw-r--r-- | src/ipcpd/normal/dt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/normal/dt.c b/src/ipcpd/normal/dt.c index 7d053e71..566ede24 100644 --- a/src/ipcpd/normal/dt.c +++ b/src/ipcpd/normal/dt.c @@ -495,7 +495,7 @@ static void sdu_handler(int fd, pthread_mutex_lock(&dt.stat[dt_pci.eid].lock); ++dt.stat[dt_pci.eid].snd_pkt[qc]; - dt.stat[dt_pci.eid].rcv_bytes[qc] += len; + dt.stat[dt_pci.eid].snd_bytes[qc] += len; pthread_mutex_unlock(&dt.stat[dt_pci.eid].lock); #endif |