summaryrefslogtreecommitdiff
path: root/src/ipcpd/udp
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-06-08 10:08:08 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-06-08 10:16:11 +0200
commit7d51ff3e5a4e42f21c9e5e89e5ea8493b7737161 (patch)
treef66eac72f11a4eb22f3a76cdc3c248e462a431fc /src/ipcpd/udp
parent0013274174b7b6c87985431a7bc314cac509f1fa (diff)
downloadouroboros-7d51ff3e5a4e42f21c9e5e89e5ea8493b7737161.tar.gz
ouroboros-7d51ff3e5a4e42f21c9e5e89e5ea8493b7737161.zip
ipcpd: Support raw qos in eth and udp IPCPs
Flow allocation for raw was not yet supported in these IPCPS, causing enrollment to fail. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd/udp')
-rw-r--r--src/ipcpd/udp/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/udp/main.c b/src/ipcpd/udp/main.c
index 8341aac1..2ec4d502 100644
--- a/src/ipcpd/udp/main.c
+++ b/src/ipcpd/udp/main.c
@@ -958,7 +958,7 @@ static int ipcp_udp_flow_alloc(int fd,
assert(dst);
- if (cube != QOS_CUBE_BE) {
+ if (cube > QOS_CUBE_BE) {
log_dbg("Unsupported QoS requested.");
return -1;
}