diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-12-18 20:44:53 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-12-18 20:44:53 +0100 |
commit | 1f80d31f41a630860d1e1b5712546a3dc9993b4c (patch) | |
tree | 6c7a512cd0af50be8ca7afd0a7f4e262c7b2b2e5 /sys | |
parent | e31934f9f317205097f09b165bcaed2e5d00aaa1 (diff) |
devbridge: disable write blocking on ethernets
Diffstat (limited to 'sys')
-rw-r--r-- | sys/src/9/port/devbridge.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/9/port/devbridge.c b/sys/src/9/port/devbridge.c index faba1145b..805751aee 100644 --- a/sys/src/9/port/devbridge.c +++ b/sys/src/9/port/devbridge.c @@ -572,6 +572,8 @@ portbind(Bridge *b, int argc, char *argv[]) // setup connection to be promiscuous snprint(buf, sizeof(buf), "connect -1"); devtab[ctl->type]->write(ctl, buf, strlen(buf), 0); + snprint(buf, sizeof(buf), "nonblocking"); + devtab[ctl->type]->write(ctl, buf, strlen(buf), 0); snprint(buf, sizeof(buf), "promiscuous"); devtab[ctl->type]->write(ctl, buf, strlen(buf), 0); snprint(buf, sizeof(buf), "bridge"); |