From 08f263e40981483e96fab9d7c864722abe45df0d Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 19 Sep 2022 19:31:21 +0200 Subject: nDPId: Reduced flow-updates for TCP flows to 1/4 of the timeout value. * nDPId: Fixed broken validation tests. * nDPId: Removed TICK_RESOLUTION, not required anymore. * c-collectd: Improved total layer4 payload calculation/update handling. * c-collectd: Updated RRD Graph script according to total layer4 payload changes. * py-flow-info.py: Fixed several bugs and syntax errors. * Python scripts: Added dirname(argv[0]) as search path for nDPIsrvd.py. * nDPIsrvd&nDPId-test: Fixed missing EPOLLERR check. Signed-off-by: Toni Uhlig --- examples/py-schema-validation/py-schema-validation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/py-schema-validation/py-schema-validation.py') diff --git a/examples/py-schema-validation/py-schema-validation.py b/examples/py-schema-validation/py-schema-validation.py index 4a1856895..fea2df4d1 100755 --- a/examples/py-schema-validation/py-schema-validation.py +++ b/examples/py-schema-validation/py-schema-validation.py @@ -5,7 +5,8 @@ import sys sys.path.append(os.path.dirname(sys.argv[0]) + '/../../dependencies') sys.path.append(os.path.dirname(sys.argv[0]) + '/../share/nDPId') -sys.path.append(os.path.dirname(sys.argv[0]) + '/../usr/share/nDPId') +sys.path.append(os.path.dirname(sys.argv[0])) +sys.path.append(sys.base_prefix + '/share/nDPId') import nDPIsrvd from nDPIsrvd import nDPIsrvdSocket, TermColor -- cgit v1.2.3