2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-01 23:05:17 +00:00

Move union sudo_in_addr_un into interfaces.h

This commit is contained in:
Todd C. Miller
2010-06-14 14:52:53 -04:00
parent 7484676705
commit fe49f161a8
2 changed files with 12 additions and 19 deletions

View File

@@ -105,13 +105,6 @@ static int command_matches_normal(char *, char *);
*/
#define has_meta(s) (strpbrk(s, "\\?*[]") != NULL)
union sudo_in_addr_un {
struct in_addr ip4;
#ifdef HAVE_IN6_ADDR
struct in6_addr ip6;
#endif
};
/*
* Check for user described by pw in a list of members.
* Returns ALLOW, DENY or UNSPEC.