From 1a02682d0695509bb8255b2d10dee48c61d83c34 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 27 Apr 2016 18:36:31 +0200 Subject: lib: client-side flow allocation flow allocation now propagates on the client side up to the IPCP. added UNKNOWN_AP and UNKNOWN_AE definitions to dev.h --- src/lib/dev.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/dev.c b/src/lib/dev.c index 60dee701..6d8411c5 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -177,11 +177,13 @@ int flow_alloc(char * dst_name, int fd = 0; if (dst_name == NULL || - src_ap_name == NULL || - qos == NULL) { + src_ap_name == NULL) { return -EINVAL; } + if (src_ae_name == NULL) + src_ae_name = UNKNOWN_AE; + msg.code = IRM_MSG_CODE__IRM_FLOW_ALLOC; msg.dst_name = dst_name; msg.ap_name = src_ap_name; -- cgit v1.2.3