From cd9a137216afe11620262e1df763b1c757cebd16 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Sun, 23 Oct 2016 12:38:31 +0200 Subject: dev, ipcp: Fix setting default flow options The default flow options were not set when a flow allocation request arrives remotely. This went unnoticed due to a previous bug. --- src/lib/dev.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/dev.c') 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); -- cgit v1.2.3