package
0.0.0-20201230050744-663be50c9289
Repository: https://github.com/jordan2175/rewritecap.git
Documentation: pkg.go.dev

# Functions

----------------------------------------------------------------------------- MakePrettyMacAddress() ----------------------------------------------------------------------------- This function will create a human readable MAC address in upper case using the : notation between octets.
----------------------------------------------------------------------------- ParseSuppliedLayer2Address() ----------------------------------------------------------------------------- Figure out if we need to change a layer 2 mac address.
----------------------------------------------------------------------------- ReplaceMacAddresses() ----------------------------------------------------------------------------- Lets compare the mac address supplied with the one in the pcap file for both the DST MAC and SRC MAC but only if a MAC address is supplied as an ARG This change will be made regardless of packet type.