Skip to content

Commit

Permalink
ubuntu fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
brunorijsman committed Nov 12, 2019
1 parent f2aa11a commit 186e5fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions set_platform_dependent_variables.sh
Expand Up @@ -26,10 +26,12 @@ if [[ ${UNAME_S} == "Linux" ]]; then
export SHARED_EXT=.so
export LD_LIBRARY_PATH="${ENGINE_DIR}:${OPENSSL}:${LD_LIBRARY_PATH}"
export MAYBE_SUDO="sudo"
export LOOPBACK="lo"
elif [[ ${UNAME_S} == "Darwin" ]]; then
export SHARED_EXT=.dylib
export DYLD_FALLBACK_LIBRARY_PATH="${ENGINE_DIR}:${OPENSSL}:${DYLD_FALLBACK_LIBRARY_PATH}"
export MAYBE_SUDO=""
export LOOPBACK="lo0"
else
echo "Unsupported platform" 1>&2
exit 1
Expand Down
2 changes: 1 addition & 1 deletion start_tshark.sh
Expand Up @@ -14,7 +14,7 @@ source set_platform_dependent_variables.sh
rm -f tshark.out
echo "tshark started on $(date +'%Y-%m-%dT%H:%M:%S.%s')" >tshark.out
${MAYBE_SUDO} tshark \
-i lo0 \
-i ${LOOPBACK} \
-w tshark.pcap \
-V \
-d tcp.port==44330,tls \
Expand Down

0 comments on commit 186e5fc

Please sign in to comment.