mirror of
https://review.haiku-os.org/haiku
synced 2025-01-18 20:48:48 +01:00
virtio_net: Don't print a message on SIOCGIFSTATS.
Fixes #19304, reduces syslog spam. Change-Id: I219709645d516134f0e4948e662bd90ee00ab183 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8692 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
01e97ff280
commit
2f7bf3b339
@ -9,7 +9,7 @@
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/ip6.h>
|
||||
#include <new>
|
||||
#include <sys/sockio.h>
|
||||
|
||||
#include <ethernet.h>
|
||||
#include <kernel.h>
|
||||
@ -926,6 +926,9 @@ virtio_net_ioctl(void* cookie, uint32 op, void* buffer, size_t length)
|
||||
return B_BAD_ADDRESS;
|
||||
return virtio_net_receive(cookie, (net_buffer**)buffer);
|
||||
|
||||
case SIOCGIFSTATS:
|
||||
break;
|
||||
|
||||
default:
|
||||
ERROR("ioctl: unknown message %" B_PRIx32 "\n", op);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user