Only log the sending of regular packets in sender_t
authorTobias Brunner <tobias@strongswan.org>
Wed, 27 Jun 2012 11:43:37 +0000 (13:43 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 8 Aug 2012 13:41:02 +0000 (15:41 +0200)
commit6d11dd5770862c68af456a464e523134bc00bbda
tree90091698822e5074973601c0327cec676614a9ac
parent6fbf4472ea785f3c75d278b1a7400534989bf26a
Only log the sending of regular packets in sender_t

When sender_t is used to send ESP packets this would otherwise cause an extreme
amount of debug messages.
With this change all messages sent via sender_t.send_no_marker() cause no extra
DBG1 log message, but for debugging purposes the socket plugins do log the same
message again with DBG2 for all packets.
src/libcharon/network/sender.c