mån 2011-07-11 klockan 13:08 +0200 skrev Jakub Hrozek:
Are you suggesting that I talk to netlink?
Err, my bad, i thought getifaddrs() would do.
The information is in there and extracting it would remove the need for
ok_for_dns(), but yeah...
Would that catch more cases than my original code?
Hmm, maybe, since the scope can be set explicitly when the address is
set.
/abo