diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-04-27 19:05:07 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-04-27 19:05:07 +0200 |
commit | d697babdbe0671b5d9a4cf4e0e46234f5045faef (patch) | |
tree | 02f9df75cdb4142a843d04c8727e917c77c20f7d /src/lib/dev.c | |
parent | 711789580dc6ee3a1a22b8fee63f5eff7e7dbb5e (diff) | |
parent | 1a02682d0695509bb8255b2d10dee48c61d83c34 (diff) | |
download | ouroboros-d697babdbe0671b5d9a4cf4e0e46234f5045faef.tar.gz ouroboros-d697babdbe0671b5d9a4cf4e0e46234f5045faef.zip |
Merged in dstaesse/ouroboros/udp-flow-alloc (pull request #63)
lib: client-side flow allocation
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; |