Merge pull request #5011 from Borromini/mii-tool

mii-tool: fix kernel 4.9 compatibility
This commit is contained in:
Hannu Nyman 2017-10-27 22:27:51 +03:00 committed by GitHub
commit 80c3c0bd2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

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

View file

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