wireshark/wireshark-0003-Load-correct-shared-object-name-in-python.patch
Peter Lemenkov 6533a785d5 Add an OpenFlow dissector
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2013-09-12 10:37:58 +04:00

29 lines
889 B
Diff

From ec02325332d4e198b1ccd6955ed6a489a5a7c826 Mon Sep 17 00:00:00 2001
From: Jan Safranek <jsafrane@redhat.com>
Date: Thu, 9 Jun 2011 14:56:59 +0200
Subject: [PATCH 3/7] Load correct shared object name in python.
This fixes following error message shown by wireshark/tshark when wireshark-devel
was not installed:
libwireshark.so: cannot open shared object file: No such file or directory
---
epan/wspython/wspy_libws.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/epan/wspython/wspy_libws.py b/epan/wspython/wspy_libws.py
index a293a17..73ce012 100755
--- a/epan/wspython/wspy_libws.py
+++ b/epan/wspython/wspy_libws.py
@@ -35,7 +35,7 @@ def get_libws_libname():
elif system == "Windows":
return 'libwireshark.dll'
else:
- return 'libwireshark.so'
+ return 'libwireshark.so.2'
def get_libws_handle():
global __libwireshark
--
1.8.3.1