summaryrefslogtreecommitdiff
path: root/src/ipcpd/unicast/pff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/unicast/pff.c')
-rw-r--r--src/ipcpd/unicast/pff.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ipcpd/unicast/pff.c b/src/ipcpd/unicast/pff.c
index 362b5177..9b2aa2b4 100644
--- a/src/ipcpd/unicast/pff.c
+++ b/src/ipcpd/unicast/pff.c
@@ -1,5 +1,5 @@
/*
- * Ouroboros - Copyright (C) 2016 - 2022
+ * Ouroboros - Copyright (C) 2016 - 2024
*
* PDU Forwarding Function
*
@@ -59,8 +59,10 @@ struct pff * pff_create(enum pol_pff pol)
}
pff->pff_i = pff->ops->create();
- if (pff->pff_i == NULL)
+ if (pff->pff_i == NULL) {
+ log_err("Failed to create PFF instance.");
goto err;
+ }
return pff;
err: