diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-03-25 12:47:35 +0100 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2013-03-28 07:16:19 +0400 |
commit | ebc5f7207790f7c055c7818bf68cb5f4c3d5d70f (patch) | |
tree | eca42e4100117ecc7dfd272615bcb28d7da95733 /accel-pppd/ctrl/pppoe | |
parent | f6e23c2c28d5f36efe2a99eaccba2e6f7eae80b2 (diff) | |
download | accel-ppp-xebd-ebc5f7207790f7c055c7818bf68cb5f4c3d5d70f.tar.gz accel-ppp-xebd-ebc5f7207790f7c055c7818bf68cb5f4c3d5d70f.zip |
l2tp: Use consistent packet logging policy
Adapt packet logging policy to make it consistent across L2TP packet
handling functions:
* Don't log messages if conf_verbose is off.
* Log HELLO and ZLB messages with log_debug and use log_info2 for
any other message type.
* Log retransmissions with log_info2, no matter the message type.
* Log outgoing messages right before sending them.
* Log incoming messages right before analysing their message type.
This unifies the way l2tp_conn_read() and l2tp_udp_read() log
incoming messages.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ctrl/pppoe')
0 files changed, 0 insertions, 0 deletions