mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Fix incorrect structure field name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12216 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a945079509
commit
57f69ef61c
1 changed files with 1 additions and 1 deletions
|
@ -1155,7 +1155,7 @@ init_iface()
|
|||
{
|
||||
ifreq = *(struct ifreq*)ifr_ptr;
|
||||
#ifdef HAVE_SA_LEN
|
||||
ifr_ptr += sizeof(ifreq) - sizeof(ifreq.ifr_name) + ifreq.ifr_addr.sa_len;
|
||||
ifr_ptr += sizeof(ifreq) - sizeof(ifreq.ifr_addr) + ifreq.ifr_addr.sa_len;
|
||||
#else
|
||||
ifr_ptr += sizeof(ifreq);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue