diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2018-06-19 11:38:23 +0200 |
---|---|---|
committer | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-06-19 13:55:45 +0200 |
commit | a5362f24b4dd48f7203be418c6d66f6edccb8d69 (patch) | |
tree | d74819582ddf4e4ccfe629dd1b8d2d96df841aab /src/ipcpd/normal/pff.c | |
parent | aea32291530c2dbec84ff424a8c7f224bd1b13d7 (diff) | |
download | ouroboros-a5362f24b4dd48f7203be418c6d66f6edccb8d69.tar.gz ouroboros-a5362f24b4dd48f7203be418c6d66f6edccb8d69.zip |
ipcpd: Change connection down to flow down
The DT component was flagging a connection as down and passing the fd
that was down. Of course the other components expect a connection
instead of just a fd. Now the connection manager will listen to flow
up and down events, and flag the connection up or down if needed.
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Diffstat (limited to 'src/ipcpd/normal/pff.c')
-rw-r--r-- | src/ipcpd/normal/pff.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ipcpd/normal/pff.c b/src/ipcpd/normal/pff.c index a335bc04..08a50f4a 100644 --- a/src/ipcpd/normal/pff.c +++ b/src/ipcpd/normal/pff.c @@ -20,7 +20,10 @@ * Foundation, Inc., http://www.fsf.org/about/contact/. */ +#define OUROBOROS_PREFIX "pff" + #include <ouroboros/errno.h> +#include <ouroboros/logs.h> #include "pff.h" #include "pol-pff-ops.h" @@ -42,9 +45,11 @@ struct pff * pff_create(enum pol_pff pol) switch (pol) { case PFF_ALTERNATE: + log_dbg("Using alternate PFF policy."); pff->ops = &alternate_pff_ops; break; case PFF_SIMPLE: + log_dbg("Using simple PFF policy."); pff->ops = &simple_pff_ops; break; default: |