Skip to content

Commit

Permalink
Update SentryCrashSysCtl.c (#4355)
Browse files Browse the repository at this point in the history
Fixing a broken link that explains a piece of code.
  • Loading branch information
brustolin authored Sep 20, 2024
1 parent 394ad33 commit 50b058e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SentryCrash/Recording/Tools/SentryCrashSysCtl.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ bool
sentrycrashsysctl_getMacAddress(const char *const name, char *const macAddressBuffer)
{
// Based off
// http://iphonedevelopertips.com/device/determine-mac-address.html
// http://web.archive.org/web/20111109013928/http://iphonedevelopertips.com/device/determine-mac-address.html

int mib[6] = { CTL_NET, AF_ROUTE, 0, AF_LINK, NET_RT_IFLIST, (int)if_nametoindex(name) };
if (mib[5] == 0) {
Expand Down

0 comments on commit 50b058e

Please sign in to comment.