mirror of
https://github.com/apache/nuttx.git
synced 2026-10-11 16:20:21 +00:00
netinet/in.h: Rename imr_interface to imr_address in struct ip_mreqn.
Rename imr_interface to imr_address in struct ip_mreqn to match the Linux definition. This ensures compatibility with standard socket APIs and existing Linux applications. Signed-off-by: daichuan <daichuan@xiaomi.com>
This commit is contained in:
parent
be74eec727
commit
cf8dacde9c
2 changed files with 3 additions and 3 deletions
|
|
@ -287,7 +287,7 @@ struct ip_mreq
|
|||
struct ip_mreqn
|
||||
{
|
||||
struct in_addr imr_multiaddr; /* IPv4 multicast address of group */
|
||||
struct in_addr imr_interface; /* Local IPv4 address of interface */
|
||||
struct in_addr imr_address; /* Local IPv4 address of interface */
|
||||
unsigned int imr_ifindex; /* Local interface index */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue