mirror of
https://github.com/Slava-Shchipunov/awg-openwrt.git
synced 2026-03-14 01:13:09 +00:00
13 lines
318 B
Diff
13 lines
318 B
Diff
--- a/src/device.c
|
|
+++ b/src/device.c
|
|
@@ -246,9 +246,7 @@ static const struct net_device_ops netd
|
|
.ndo_open = wg_open,
|
|
.ndo_stop = wg_stop,
|
|
.ndo_start_xmit = wg_xmit,
|
|
-#ifndef COMPAT_CANNOT_USE_PCPU_STAT_TYPE
|
|
.ndo_get_stats64 = dev_get_tstats64
|
|
-#endif
|
|
};
|
|
|
|
static void wg_destruct(struct net_device *dev)
|