Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
gpotter2 committed Jun 15, 2024
1 parent 7cf4d11 commit b267969
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .config/ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,16 @@ EOF
echo "DEBUG: TEMPFILE=${TEMPFILE}"
./run_scapy -H -c "${TEMPFILE}" || exit 1

# DEBUG
# OSX: clear DNS cache
if [ "$OSTYPE" = "darwin"* ]
if [[ "$OSTYPE" = "darwin"* ]]
then
echo "HEY"
# https://www.hongkiat.com/blog/clear-dns-cache-mac/
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
ifconfig
cat /etc/resolv.conf
ping 1.1.1.1
dig google.com
fi

0 comments on commit b267969

Please sign in to comment.