Wireshark dissector for Pro DJ Link protocol
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

add copy_plugin.sh for dev convenience

Stella 8c4821ff 1fefdef7

+25
+25
copy_plugin.sh
··· 1 + #!/bin/zsh 2 + 3 + # Potential source paths 4 + PATH_ROOT="dissector/pro_dj_link.lua" 5 + PATH_LOCAL="pro_dj_link.lua" 6 + 7 + # Use $HOME to make it work for any user 8 + DESTINATION="$HOME/.local/lib/wireshark/plugins/" 9 + 10 + # Determine which path is valid 11 + if [[ -f "$PATH_ROOT" ]]; then 12 + SOURCE="$PATH_ROOT" 13 + elif [[ -f "$PATH_LOCAL" ]]; then 14 + SOURCE="$PATH_LOCAL" 15 + else 16 + print "Error: pro_dj_link.lua not found in current or 'dissector' directory." 17 + exit 1 18 + fi 19 + 20 + # Ensure the destination directory exists 21 + mkdir -p "$DESTINATION" 22 + 23 + # Execute copy 24 + cp "$SOURCE" "$DESTINATION" 25 + print "Successfully installed $SOURCE to $DESTINATION"