summaryrefslogtreecommitdiff
path: root/source/n/net-tools/net-tools.struct.x25_address.gcc4.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/net-tools/net-tools.struct.x25_address.gcc4.diff')
-rw-r--r--source/n/net-tools/net-tools.struct.x25_address.gcc4.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/n/net-tools/net-tools.struct.x25_address.gcc4.diff b/source/n/net-tools/net-tools.struct.x25_address.gcc4.diff
new file mode 100644
index 00000000..25a42ed7
--- /dev/null
+++ b/source/n/net-tools/net-tools.struct.x25_address.gcc4.diff
@@ -0,0 +1,11 @@
+--- ./lib/x25_sr.c.orig 2000-05-20 08:38:10.000000000 -0500
++++ ./lib/x25_sr.c 2010-08-12 12:13:35.147112052 -0500
+@@ -77,7 +77,7 @@
+ rt.sigdigits=sigdigits;
+
+ /* x25_route_struct.address isn't type struct sockaddr_x25, Why? */
+- memcpy(&rt.address, &sx25.sx25_addr, sizeof(x25_address));
++ memcpy(&rt.address, &sx25.sx25_addr, sizeof(struct x25_address));
+
+ while (*args) {
+ if (!strcmp(*args,"device") || !strcmp(*args,"dev")) {