diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-03-07 16:21:11 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-03-20 15:24:26 +0100 |
commit | c994ec3b70b733dc25d244eadeaef4ed56ebcff9 (patch) | |
tree | e83167b1a543dfde1c8c356d7c0f6b75b4739d88 /src/libipsec/ipsec_processor.c | |
parent | e2d2b542f1d3278d3e07129ac3ceea342bd63b2f (diff) | |
download | strongswan-c994ec3b70b733dc25d244eadeaef4ed56ebcff9.tar.bz2 strongswan-c994ec3b70b733dc25d244eadeaef4ed56ebcff9.tar.xz |
ipsec: Increased log level for message in case no outbound policy is found
This might happen on Android if sockets are bound to the physical IP
address but packets are still routed via TUN device. Since it seems to
happen quite often (or for stuff that requires regular traffic) this
hides these messages from the default log.
Diffstat (limited to 'src/libipsec/ipsec_processor.c')
-rw-r--r-- | src/libipsec/ipsec_processor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libipsec/ipsec_processor.c b/src/libipsec/ipsec_processor.c index 66f43a408..e142157f8 100644 --- a/src/libipsec/ipsec_processor.c +++ b/src/libipsec/ipsec_processor.c @@ -196,7 +196,7 @@ static job_requeue_t process_outbound(private_ipsec_processor_t *this) policy = ipsec->policies->find_by_packet(ipsec->policies, packet, FALSE); if (!policy) { - DBG1(DBG_ESP, "no matching outbound IPsec policy for %H == %H", + DBG2(DBG_ESP, "no matching outbound IPsec policy for %H == %H", packet->get_source(packet), packet->get_destination(packet)); packet->destroy(packet); return JOB_REQUEUE_DIRECT; |