Browse Source
Merge pull request #5011 from Borromini/mii-tool
mii-tool: fix kernel 4.9 compatibility
lilik-openwrt-22.03
Hannu Nyman
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
11 additions and
1 deletions
-
net/mii-tool/Makefile
-
net/mii-tool/patches/001-mii-tool-4.9-compatibility.patch
|
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=mii-tool |
|
|
|
PKG_VERSION=2016-10-06-$(PKG_SOURCE_VERSION) |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
|
PKG_SOURCE_URL:=git://git.code.sf.net/p/net-tools/code |
|
|
|
|
|
@ -0,0 +1,10 @@ |
|
|
|
--- a/iptunnel.c 2016-07-10 20:15:29.000000000 +0200
|
|
|
|
+++ b/iptunnel.c 2017-10-19 19:51:09.172782821 +0200
|
|
|
|
@@ -26,7 +26,6 @@
|
|
|
|
#include <sys/socket.h> |
|
|
|
#include <sys/ioctl.h> |
|
|
|
#include <netinet/in.h> |
|
|
|
-#include <netinet/ip.h>
|
|
|
|
#include <arpa/inet.h> |
|
|
|
#include <net/if.h> |
|
|
|
#include <net/if_arp.h> |