diff options
author | Joachim Wiberg <troglobit@gmail.com> | 2022-12-30 13:07:50 +0100 |
---|---|---|
committer | Joachim Wiberg <troglobit@gmail.com> | 2022-12-30 13:07:50 +0100 |
commit | 4296f30d3f36fc062586de189900bab365dbb96a (patch) | |
tree | 72c57530106496da5d3d255d170a37083c092b63 /include | |
parent | 36e96bfce52fdbcff944d1f9f519677fc0d3b172 (diff) | |
download | libnet-4296f30d3f36fc062586de189900bab365dbb96a.tar.gz |
src: alllow returning lo when dev i set also on Linux and OpenBSD
The other (older) implementations of libnet_ifaddrlist() explicitly
check if dev is unset before discarding any loopback interface.
This patch adds the same behavior to the Linux and OpeBSD backends
for consistency.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions