The sudoers plugin now defines its own list of debugging subsystem names

and defines.
This commit is contained in:
Todd C. Miller
2014-10-22 13:30:52 -06:00
parent 866cfc4fc3
commit e9914a91b1
62 changed files with 641 additions and 558 deletions

View File

@@ -62,7 +62,7 @@ set_interfaces(const char *ai)
{
char *addrinfo, *addr, *mask;
struct interface *ifp;
debug_decl(set_interfaces, SUDO_DEBUG_NETIF, sudoers_debug_instance)
debug_decl(set_interfaces, SUDOERS_DEBUG_NETIF, sudoers_debug_instance)
addrinfo = sudo_estrdup(ai);
for (addr = strtok(addrinfo, " \t"); addr != NULL; addr = strtok(NULL, " \t")) {
@@ -109,7 +109,7 @@ void
dump_interfaces(const char *ai)
{
char *cp, *addrinfo;
debug_decl(set_interfaces, SUDO_DEBUG_NETIF, sudoers_debug_instance)
debug_decl(set_interfaces, SUDOERS_DEBUG_NETIF, sudoers_debug_instance)
addrinfo = sudo_estrdup(ai);