1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

fix netift

This commit is contained in:
suyuan168 2022-04-06 20:55:49 +08:00
parent b76bbb581c
commit 5930a09dfc
38 changed files with 1918 additions and 68 deletions

View file

@ -0,0 +1,12 @@
diff -Nur netifd-copy/system-linux.c netifd-2021-01-09-753c351b/system-linux.c
--- netifd-copy/system-linux.c 2021-07-19 18:54:43.163143412 -0700
+++ netifd-2021-01-09-753c351b/system-linux.c 2021-07-19 18:56:23.355608327 -0700
@@ -2675,7 +2675,7 @@
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0)
unsigned int draft03 = 0;
- if ((cur = tb[IPIP6_DATA_DRAFT03])) {
+ if ((cur = tb_data[IPIP6_DATA_DRAFT03])) {
draft03 = blobmsg_get_u32(cur);
if (ttl > 255)
return -EINVAL;