diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-06-08 10:08:08 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-06-08 10:16:11 +0200 |
commit | 7d51ff3e5a4e42f21c9e5e89e5ea8493b7737161 (patch) | |
tree | f66eac72f11a4eb22f3a76cdc3c248e462a431fc /src | |
parent | 0013274174b7b6c87985431a7bc314cac509f1fa (diff) | |
download | ouroboros-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')
-rw-r--r-- | src/ipcpd/eth/eth.c | 2 | ||||
-rw-r--r-- | src/ipcpd/udp/main.c | 2 |
2 files changed, 2 insertions, 2 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; } 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; } |