lib: masq_info: fix scanf addr loading on 64bit systems
The code assumes that sizeof(sin_addr.s_addr) == sizeof(long) == 4 which fails badly on 64bit systems -- we end up reading 4 extra bytes into the storage. Instead, load things indirectly via uint32_t variables since these are IPv4 addresses.
Showing
Please register or sign in to comment