]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - net-tools/patches/net-tools-1.60-netdevice.patch
Move all packages to root.
[people/pmueller/ipfire-3.x.git] / net-tools / patches / net-tools-1.60-netdevice.patch
CommitLineData
236898d6
MT
1--- net-tools-1.60/lib/fddi.c.netdevice 2000-03-05 12:26:02.000000000 +0100
2+++ net-tools-1.60/lib/fddi.c 2006-05-09 11:19:51.000000000 +0200
3@@ -26,6 +26,8 @@
4 #error "No FDDI Support in your current Kernelsource Tree."
5 #error "Disable HW Type FDDI"
6 #endif
7+#include <linux/netdevice.h>
8+#include <asm/byteorder.h>
9 #if __GLIBC__ >= 2
10 #include <netinet/if_fddi.h>
11 #else
12--- net-tools-1.60/lib/x25_sr.c.netdevice 2000-05-20 15:38:10.000000000 +0200
13+++ net-tools-1.60/lib/x25_sr.c 2006-05-09 11:20:15.000000000 +0200
14@@ -77,7 +77,7 @@
15 rt.sigdigits=sigdigits;
16
17 /* x25_route_struct.address isn't type struct sockaddr_x25, Why? */
18- memcpy(&rt.address, &sx25.sx25_addr, sizeof(x25_address));
19+ memcpy(&rt.address, &sx25.sx25_addr, sizeof(struct x25_address));
20
21 while (*args) {
22 if (!strcmp(*args,"device") || !strcmp(*args,"dev")) {