mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
228c632ab3
Some apps try to provide only the non-zero part of the required message header instead of the full one. It happens when fetching routes or interface addresses, where the first header byte is the family. This behavior is "illegal" under the "strict" Netlink socket option, however there are many applications out there doing things in the "old" way. Support this usecase by copying the provided bytes into the temporary zero-filled header and running the parser on this header instead. Reported by: Goran Mekić <meka@tilda.center> |
||
---|---|---|
.. | ||
Makefile | ||
test_rtnl_iface.py | ||
test_rtnl_ifaddr.py | ||
test_snl.c |