mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 05:23:19 -07:00
docs: made code clearer
This commit is contained in:
parent
8a5916c685
commit
1e2461e461
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ func IPv4RouteIsGateway(ifname string, tokens []string, f func(gateway string) (
|
|||
* net.Interface does not have the correct name on Windows and pcap.Interface
|
||||
* does not have the hardware address for some reason ... so this is what I
|
||||
* had to do in Windows ... tnx Microsoft <3
|
||||
*
|
||||
* FIXME: Just to be clear *THIS IS SHIT*. Please someone test, find a more
|
||||
* elegant solution and refactor ... i'm seriously tired of this.
|
||||
*/
|
||||
|
||||
func areTheSame(iface net.Interface, piface pcap.Interface) bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue