Commit Graph

6 Commits

Author SHA1 Message Date
Andreas Gocht-Zech
8958ef0b3e Fix nethogsmonitor_loop_devices_py to accept more than one device
Without the ref only the last element of __devicenames is stored in
_devicenames: The temporary is deleted at the end of the for body,
therefore the pointer to the c_str is no longer valid and might be
reused by the implementation. By using a reference in the for head
the c_str does not return a ref to the temporary but to the original
array wich's lifetime is till the end of the function.
2023-12-22 18:42:02 +01:00
Andreas Gocht-Zech
b9abb65df0 add pcap packet stats 2023-09-29 22:54:31 +02:00
Andreas Gocht-Zech
059390b145 fix an error in the bindings 2023-09-05 23:07:42 +02:00
Andreas Gocht-Zech
668ae29c0a add reporting of changes since last request 2023-08-20 22:07:43 +02:00
Andreas Gocht-Zech
b581af6990 fix python bindings 2023-07-12 20:46:59 +02:00
jimmylomro
fcacd7efdb added nethogsmonitor_loop_devices and moved code to python dir 2022-03-16 18:58:28 +00:00