diff options
author | Dimitri Staessens <[email protected]> | 2018-12-27 17:25:48 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2018-12-29 10:43:31 +0100 |
commit | 93c588892a86333fc3cfa66b7c5da2e7ff4e7e6c (patch) | |
tree | 081ca57d5d9e47bf1c3e8cfa5b2719388558d5bf /include | |
parent | 9dab3985812e75071271ce69000561156d0d9374 (diff) | |
download | ouroboros-93c588892a86333fc3cfa66b7c5da2e7ff4e7e6c.tar.gz ouroboros-93c588892a86333fc3cfa66b7c5da2e7ff4e7e6c.zip |
lib: Fix deallocating non-initialized np1 flows
This fixes the deallocation of non-initialized IPCP flows. These can
occur when some operations are not implemented.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/ipcp-dev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ouroboros/ipcp-dev.h b/include/ouroboros/ipcp-dev.h index 4f8b5da8..86e21cdc 100644 --- a/include/ouroboros/ipcp-dev.h +++ b/include/ouroboros/ipcp-dev.h @@ -43,7 +43,7 @@ int ipcp_flow_read(int fd, int ipcp_flow_write(int fd, struct shm_du_buff * sdb); -void ipcp_flow_fini(int fd); +int ipcp_flow_fini(int fd); int ipcp_flow_get_qoscube(int fd, qoscube_t * cube); |