Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not consider opaque type of
s_addr
as int
The current code implies `int` is 4 bytes - which it is on current Linux platforms - and that `attr_fip->data` is aligned - which I presume it is. Neverthless, it might be clearer to use memcpy() here. From the Linux header <linux/in.h> : /* Internet address. */ struct in_addr { __be32 s_addr; };
- Loading branch information