summaryrefslogtreecommitdiff
path: root/src/ipcpd/eth
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/eth
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/eth')
-rw-r--r--src/ipcpd/eth/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/eth/eth.c b/src/ipcpd/eth/eth.c
index 90a7b0fd..caf9d2df 100644
--- a/src/ipcpd/eth/eth.c
+++ b/src/ipcpd/eth/eth.c
@@ -1504,7 +1504,7 @@ static int eth_ipcp_flow_alloc(int fd,
assert(hash);
- if (cube != QOS_CUBE_BE) {
+ if (cube > QOS_CUBE_BE) {
log_dbg("Unsupported QoS requested.");
return -1;
}