Commit b644a490 authored by Ondřej Zajíček's avatar Ondřej Zajíček
Browse files

BSD: Fix address scan on OpenBSD

parent 1d213067
......@@ -688,6 +688,10 @@ krt_read_addr(struct ks_msg *msg, int scan)
default: return;
/* We do not test family for RTA_NETMASK, because BSD sends us
some strange values, but interpreting them as IPv4/IPv6 works */ =;
iaddr = ipa_from_sa(&addr);
imask = ipa_from_sa(&mask);
ibrd = ipa_from_sa(&brd);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment