Support libwireshark[0,1] for 11.04 and 11.10
This commit is contained in:
+3
-1
@@ -174,7 +174,9 @@ function wireshark {
|
|||||||
cd of-dissector/src
|
cd of-dissector/src
|
||||||
export WIRESHARK=/usr/include/wireshark
|
export WIRESHARK=/usr/include/wireshark
|
||||||
scons
|
scons
|
||||||
WSPLUGDIR=/usr/lib/wireshark/libwireshark1/plugins/
|
# libwireshark0/ on 11.04; libwireshark1/ on later
|
||||||
|
WSDIR=`ls -d /usr/lib/wireshark/libwireshark* | head -1`
|
||||||
|
WSPLUGDIR=$WSDIR/plugins/
|
||||||
sudo cp openflow.so $WSPLUGDIR
|
sudo cp openflow.so $WSPLUGDIR
|
||||||
echo "Copied openflow plugin to $WSPLUGDIR"
|
echo "Copied openflow plugin to $WSPLUGDIR"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user