diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-02-26 10:42:05 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-02-26 11:35:56 +0100 |
commit | 4159e60f9b61dd5c8ac33cd2dea3ff81945c06ce (patch) | |
tree | 8f51d12476b17efb18ffa76cfd7cdf8e055e79f7 /src/ipcpd/normal | |
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 <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd/normal')
-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 |