[SSSD] [PATCH] Filter out IP addresses inappropriate for DNS forward records

Alexander Boström abo at root.snowtree.se
Mon Jul 11 21:07:53 UTC 2011


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





More information about the sssd-devel mailing list