diff options
author | Sander Vrijders <[email protected]> | 2017-03-21 16:51:15 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-03-21 16:51:15 +0100 |
commit | 97d2a1c3c185623c5472e89e78b4d8cc98a06c91 (patch) | |
tree | 58425710a8232125faebc48a339797bc3ae1b4b4 /include | |
parent | b04b4933fc7f03aef940b4de5fd43815834951ca (diff) | |
download | ouroboros-97d2a1c3c185623c5472e89e78b4d8cc98a06c91.tar.gz ouroboros-97d2a1c3c185623c5472e89e78b4d8cc98a06c91.zip |
ipcpd: local: Handle failed flow allocation
When the flow_req_arr returned a negative error, it was not handled
correctly in the local IPCP, and an access was made into a table with
a negative integer. This handles it correctly.
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/ipcp-dev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ouroboros/ipcp-dev.h b/include/ouroboros/ipcp-dev.h index 81aca1d7..b2d78c6e 100644 --- a/include/ouroboros/ipcp-dev.h +++ b/include/ouroboros/ipcp-dev.h @@ -29,9 +29,9 @@ int ipcp_create_r(pid_t api, int result); -int ipcp_flow_req_arr(pid_t api, - char * dst_name, - char * src_ae_name, +int ipcp_flow_req_arr(pid_t api, + char * dst_name, + char * src_ae_name, qoscube_t cube); int ipcp_flow_alloc_reply(int fd, |