From 4159e60f9b61dd5c8ac33cd2dea3ff81945c06ce Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Mon, 26 Feb 2018 10:42:05 +0100 Subject: ipcpd: Fix flow statistic There was a wrong rcv_bytes where it should have been snd_bytes. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/ipcpd/normal/dt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3