summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-23 10:44:27 +0000
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-23 10:44:27 +0000
commita4889a6f1e9f3d3c6822c403ac4fa544618a8c34 (patch)
tree47df30ae8331bce3ee91ce27fb74d9d79107db3f /src/lib/dev.c
parent38fcbdb67f9376fe7e5504f55fbfaab8e03c4c4b (diff)
parentcd9a137216afe11620262e1df763b1c757cebd16 (diff)
downloadouroboros-a4889a6f1e9f3d3c6822c403ac4fa544618a8c34.tar.gz
ouroboros-a4889a6f1e9f3d3c6822c403ac4fa544618a8c34.zip
Merged in dstaesse/ouroboros/be-shim-eth (pull request #274)
dev, ipcp: Fix setting default flow options
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index cac3ca37..0a22cb12 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -1151,6 +1151,7 @@ int ipcp_flow_req_arr(pid_t api, char * dst_name, char * src_ae_name)
}
ai.flows[fd].port_id = port_id;
+ ai.flows[fd].oflags = FLOW_O_DEFAULT;
ai.ports[port_id].fd = fd;
port_set_state(&(ai.ports[port_id]), PORT_ID_ASSIGNED);