summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-21 14:07:59 +0100
committerdimitri staessens <dimitri.staessens@ugent.be>2017-03-21 14:11:15 +0100
commit55c8721cd2682a360c3eaeb6c51ef3455c320416 (patch)
tree2d9521791bc4b9291e5afb5d9890c8c89f1026ad /src/ipcpd/normal
parent3bb7ed41f8c96a15f16281f3c9f282e6690aed38 (diff)
downloadouroboros-55c8721cd2682a360c3eaeb6c51ef3455c320416.tar.gz
ouroboros-55c8721cd2682a360c3eaeb6c51ef3455c320416.zip
ipcpd: Fill qosspec in complete gam policy
The temporary cube parameter must be initialized if a qosspec is passed to avoid uninitialized values for the qoscube in the prototype.
Diffstat (limited to 'src/ipcpd/normal')
-rw-r--r--src/ipcpd/normal/pol/complete.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ipcpd/normal/pol/complete.c b/src/ipcpd/normal/pol/complete.c
index 3a9dd548..1f3f6031 100644
--- a/src/ipcpd/normal/pol/complete.c
+++ b/src/ipcpd/normal/pol/complete.c
@@ -83,6 +83,9 @@ static void * allocator(void * o)
qs.delay = 0;
qs.jitter = 0;
+ /* FIXME: implement QoS specs */
+ qs.cube = QOS_CUBE_BE;
+
/* FIXME: subscribe to members to keep the graph complete. */
len = rib_children("/" MEMBERS_NAME, &children);
for (i = 0; i < len; ++i) {