summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/fa.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-06-19 17:04:31 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-06-19 17:04:31 +0200
commitce0ecb86739583d0b134fdf0f44d0e7372507e2e (patch)
tree297e51e7976b63b3dff0d005e2669572e0e1cdcf /src/ipcpd/normal/fa.c
parent3fde03d682361af24019b4a4f446fc887ddd7f79 (diff)
downloadouroboros-ce0ecb86739583d0b134fdf0f44d0e7372507e2e.tar.gz
ouroboros-ce0ecb86739583d0b134fdf0f44d0e7372507e2e.zip
ipcpd: Fix flow allocation over normal
Diffstat (limited to 'src/ipcpd/normal/fa.c')
-rw-r--r--src/ipcpd/normal/fa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/normal/fa.c b/src/ipcpd/normal/fa.c
index d7073617..26ee9037 100644
--- a/src/ipcpd/normal/fa.c
+++ b/src/ipcpd/normal/fa.c
@@ -360,7 +360,7 @@ int fa_alloc_resp(int fd,
assert(qc >= 0 && qc < QOS_CUBE_MAX);
- if (dt_write_sdu(fa.r_addr[fd], qc, FD_FA, sdb)) {
+ if (dt_write_sdu(fa.r_addr[fd], qc, fa.fd, sdb)) {
destroy_conn(fd);
pthread_rwlock_unlock(&fa.flows_lock);
ipcp_sdb_release(sdb);