From 7d51ff3e5a4e42f21c9e5e89e5ea8493b7737161 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Fri, 8 Jun 2018 10:08:08 +0200 Subject: 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 Signed-off-by: Sander Vrijders --- src/ipcpd/eth/eth.c | 2 +- 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; } -- cgit v1.2.3