nusb/ether: fix ethertype filtering

front
cinap_lenrek 2018-08-07 23:46:58 +02:00
parent 445fc8e5a7
commit 45ce4de650
1 changed files with 1 additions and 1 deletions

View File

@ -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);