diff options
author | dimitri staessens <[email protected]> | 2016-04-27 18:36:31 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-04-27 18:36:31 +0200 |
commit | 1a02682d0695509bb8255b2d10dee48c61d83c34 (patch) | |
tree | 02f9df75cdb4142a843d04c8727e917c77c20f7d /src/lib/dev.c | |
parent | 711789580dc6ee3a1a22b8fee63f5eff7e7dbb5e (diff) | |
download | ouroboros-1a02682d0695509bb8255b2d10dee48c61d83c34.tar.gz ouroboros-1a02682d0695509bb8255b2d10dee48c61d83c34.zip |
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
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r-- | src/lib/dev.c | 6 |
1 files changed, 4 insertions, 2 deletions
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; |