From 059390b14529c2f45e1236fdaf634f03045bd7df Mon Sep 17 00:00:00 2001 From: Andreas Gocht-Zech Date: Tue, 5 Sep 2023 23:07:33 +0200 Subject: [PATCH] fix an error in the bindings --- python/bindings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/bindings.cpp b/python/bindings.cpp index 058aaf5..dddda45 100644 --- a/python/bindings.cpp +++ b/python/bindings.cpp @@ -77,7 +77,7 @@ PYBIND11_MODULE(nethogs, m) { .def_readwrite("sent_bytes", &NethogsMonitorRecord::sent_bytes) .def_readwrite("recv_bytes", &NethogsMonitorRecord::recv_bytes) .def_readwrite("sent_bytes_last", &NethogsMonitorRecord::sent_bytes_last) - .def_readwrite("recv_bytes_last", &NethogsMonitorRecord::sent_bytes_last) + .def_readwrite("recv_bytes_last", &NethogsMonitorRecord::recv_bytes_last) .def_readwrite("sent_kbs", &NethogsMonitorRecord::sent_kbs) .def_readwrite("recv_kbs", &NethogsMonitorRecord::recv_kbs);