summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2018-09-27 11:49:20 +0200
committerSander Vrijders <[email protected]>2018-09-27 13:29:52 +0200
commitaf6756b94bb8c78d2d09a28966427e68b95c5a93 (patch)
tree1507bc614756e0fc3dc45bdecb716963fb8ab000 /src/lib/dev.c
parent51bb05f15b78fbfdf53417ec1d1c21e999c0e556 (diff)
downloadouroboros-af6756b94bb8c78d2d09a28966427e68b95c5a93.tar.gz
ouroboros-af6756b94bb8c78d2d09a28966427e68b95c5a93.zip
lib: Remove configuration from FRCT
This removes configuration from the FRCT protocol to send it during flow allocation. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index 1d1e9476..3d9e1d49 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -682,7 +682,6 @@ int fccntl(int fd,
int cmd,
...)
{
- uint16_t sflags;
uint32_t * fflags;
uint16_t * cflags;
va_list l;
@@ -794,11 +793,6 @@ int fccntl(int fd,
goto einval;
*fflags = flow->oflags;
break;
- case FRCTSFLAGS:
- sflags = (uint16_t) va_arg(l, int);
- if (flow->frcti == NULL || frcti_setconf(flow->frcti, sflags))
- goto eperm;
- break;
case FRCTGFLAGS:
cflags = (uint16_t *) va_arg(l, int *);
if (cflags == NULL)