summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/eth/eth.c2
-rw-r--r--src/ipcpd/udp/main.c2
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;
}