traffic_selector_t is gone into libstrongswan, migrate printf hook registration, too.

This commit is contained in:
Martin Willi
2010-06-07 15:06:09 +02:00
parent 550d9085fa
commit 5493ffde0b
2 changed files with 8 additions and 10 deletions
-5
View File
@@ -29,7 +29,6 @@
#include "daemon.h"
#include <library.h>
#include <selectors/traffic_selector.h>
#include <config/proposal.h>
#ifndef LOG_AUTHPRIV /* not defined on OpenSolaris */
@@ -429,10 +428,6 @@ bool libcharon_init()
this = daemon_create();
charon = &this->public;
lib->printf_hook->add_handler(lib->printf_hook, 'R',
traffic_selector_printf_hook,
PRINTF_HOOK_ARGTYPE_POINTER,
PRINTF_HOOK_ARGTYPE_END);
lib->printf_hook->add_handler(lib->printf_hook, 'P',
proposal_printf_hook,
PRINTF_HOOK_ARGTYPE_POINTER,