Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions druntime/src/core/sys/linux/ifaddrs.d
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,18 @@ struct ifaddrs
union
{
/// Broadcast address of the interface
sockaddr* ifu_broadaddr;
sockaddr* ifa_broadaddr;

/// Point-to-point destination addresss
sockaddr* if_dstaddr;
sockaddr* ifa_dstaddr;
}

deprecated("druntime declared this incorrectly before. The correct name is ifa_broadaddr.")
alias ifu_broadaddr = ifa_broadaddr;

deprecated("druntime declared this incorrectly before. The correct name is ifa_dstaddr.")
alias if_dstaddr = ifa_dstaddr;

/// Address specific data
void* ifa_data;
}
Expand Down