New commits:
commit 1fb95313fa9f0010618941b64fe463a8d0578341
Author: Andrew Cagney <[email protected]>
Date: Mon Nov 27 13:07:33 2017 -0500
logging: convert set_cur_state() and set_cur_connection() to push/pop
functions
For instance:
old_state = push_cur_state(st)
....
pop_cur_state(old_state)
this way, instead of debug-logging the near useless message:
processing connection ...
it instead can debug-log changes such as:
start processing ...
suspend processing ...
resume processing ...
stop processing ...
as states and connections get shuffled around.
Well, at least in theory it can. Direct assignments to CUR_STATE
and CUR_CONNECTION along with calls to reset_globals() mean that
it is far from perfect :-)
Avoid code churn by mapping the old macros onto these functions.
_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit