nusb/ether: fix ethertype filtering
This commit is contained in:
parent
445fc8e5a7
commit
45ce4de650
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ fswrite(Req *r)
|
|||
memcpy(x, p, n-8);
|
||||
x[n-8] = 0;
|
||||
|
||||
conn[NUM(path)].type = atoi(p);
|
||||
conn[NUM(path)].type = strtoul(x, nil, 0);
|
||||
}
|
||||
r->ofcall.count = n;
|
||||
respond(r, nil);
|
||||
|
|
Loading…
Reference in a new issue