summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-04-27 19:05:07 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-04-27 19:05:07 +0200
commitd697babdbe0671b5d9a4cf4e0e46234f5045faef (patch)
tree02f9df75cdb4142a843d04c8727e917c77c20f7d /src/lib/dev.c
parent711789580dc6ee3a1a22b8fee63f5eff7e7dbb5e (diff)
parent1a02682d0695509bb8255b2d10dee48c61d83c34 (diff)
downloadouroboros-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.c6
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;