net-tools-2.10

This commit is contained in:
Rmys
2022-08-26 16:51:49 +03:00
parent fbc06fe5be
commit 07dcdfcb1f
27 changed files with 78 additions and 27 deletions
@@ -0,0 +1,11 @@
--- statistics.c 2007-11-10 17:35:28.000000000 +0200
+++ statistics.c 2007-11-10 17:36:00.000000000 +0200
@@ -291,7 +291,7 @@
void process_fd(FILE *f)
{
- char buf1[1024], buf2[1024];
+ char buf1[2048], buf2[2048];
char *sp, *np, *p;
while (fgets(buf1, sizeof buf1, f)) {
int endflag;
@@ -0,0 +1,12 @@
diff -up net-tools-2.0/iptunnel.c.linux48 net-tools-2.0/iptunnel.c
--- net-tools-2.0/iptunnel.c.linux48 2016-02-15 16:54:18.000000000 +0100
+++ net-tools-2.0/iptunnel.c 2016-10-12 09:16:57.429279406 +0200
@@ -26,7 +26,7 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
-#include <netinet/ip.h>
+#include <linux/ip.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <net/if_arp.h>