diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-03-21 14:07:59 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-03-21 14:11:15 +0100 |
commit | 55c8721cd2682a360c3eaeb6c51ef3455c320416 (patch) | |
tree | 2d9521791bc4b9291e5afb5d9890c8c89f1026ad | |
parent | 3bb7ed41f8c96a15f16281f3c9f282e6690aed38 (diff) | |
download | ouroboros-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.
-rw-r--r-- | src/ipcpd/normal/pol/complete.c | 3 |
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) { |