diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-02-16 10:43:19 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2020-02-16 18:25:08 +0100 |
commit | 961e3da364797eee9d84902cce509baf2f6f9d2d (patch) | |
tree | a64fd163f71bb7eca0b1e363627c08989605a69d /src/ipcpd/eth/eth.c | |
parent | 8d38af64d1d34bff9b2548df29f3a680cdfbb0c6 (diff) | |
download | ouroboros-961e3da364797eee9d84902cce509baf2f6f9d2d.tar.gz ouroboros-961e3da364797eee9d84902cce509baf2f6f9d2d.zip |
ipcpd: Fix bad newline in eth.c
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/eth/eth.c')
-rw-r--r-- | src/ipcpd/eth/eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/eth/eth.c b/src/ipcpd/eth/eth.c index daeb9be2..0c9daff4 100644 --- a/src/ipcpd/eth/eth.c +++ b/src/ipcpd/eth/eth.c @@ -1036,8 +1036,8 @@ static void * eth_ipcp_packet_writer(void * o) fevent(eth_data.np1_flows, fq, NULL); while ((fd = fqueue_next(fq)) >= 0) { if (fqueue_type(fq) != FLOW_PKT) - continue -; + continue; + if (ipcp_flow_read(fd, &sdb)) { log_dbg("Bad read from fd %d.", fd); continue; |