Remove redundant wireshark install.
This commit is contained in:
@@ -212,38 +212,6 @@ function wireshark {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function wireshark {
|
|
||||||
echo "Installing Wireshark dissector..."
|
|
||||||
|
|
||||||
sudo apt-get install -y wireshark libgtk2.0-dev
|
|
||||||
|
|
||||||
if [ "$DIST" = "Ubuntu" ] && [ "$RELEASE" != "10.04" ]; then
|
|
||||||
# Install newer version
|
|
||||||
sudo apt-get install -y scons mercurial libglib2.0-dev
|
|
||||||
sudo apt-get install -y libwiretap-dev libwireshark-dev
|
|
||||||
cd ~
|
|
||||||
hg clone https://bitbucket.org/barnstorm/of-dissector
|
|
||||||
cd of-dissector/src
|
|
||||||
export WIRESHARK=/usr/include/wireshark
|
|
||||||
scons
|
|
||||||
# libwireshark0/ on 11.04; libwireshark1/ on later
|
|
||||||
WSDIR=`ls -d /usr/lib/wireshark/libwireshark* | head -1`
|
|
||||||
WSPLUGDIR=$WSDIR/plugins/
|
|
||||||
sudo cp openflow.so $WSPLUGDIR
|
|
||||||
echo "Copied openflow plugin to $WSPLUGDIR"
|
|
||||||
else
|
|
||||||
# Install older version from reference source
|
|
||||||
cd ~/openflow/utilities/wireshark_dissectors/openflow
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Copy coloring rules: OF is white-on-blue:
|
|
||||||
mkdir -p ~/.wireshark
|
|
||||||
cp ~/mininet/util/colorfilters ~/.wireshark
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Install Open vSwitch
|
# Install Open vSwitch
|
||||||
# Instructions derived from OVS INSTALL, INSTALL.OpenFlow and README files.
|
# Instructions derived from OVS INSTALL, INSTALL.OpenFlow and README files.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user