summaryrefslogtreecommitdiffstats
path: root/sys/netatm/atm_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netatm/atm_socket.c')
-rw-r--r--sys/netatm/atm_socket.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netatm/atm_socket.c b/sys/netatm/atm_socket.c
index 34b9d09..c0f5435 100644
--- a/sys/netatm/atm_socket.c
+++ b/sys/netatm/atm_socket.c
@@ -819,7 +819,9 @@ atm_sock_setopt(so, sopt, atp)
return (EINVAL);
if ((p.brr.traffic_type != T_ATM_NULL) &&
(p.brr.traffic_type != T_ATM_CBR) &&
- (p.brr.traffic_type != T_ATM_VBR))
+ (p.brr.traffic_type != T_ATM_VBR) &&
+ (p.brr.traffic_type != T_ATM_ABR) &&
+ (p.brr.traffic_type != T_ATM_UBR))
return (EINVAL);
if ((p.brr.timing_requirements != T_ATM_NULL) &&
(p.brr.timing_requirements != T_ATM_END_TO_END) &&
OpenPOWER on IntegriCloud