summaryrefslogtreecommitdiff
path: root/source/n/net-tools/net-tools.struct.x25_address.gcc4.diff
blob: 25a42ed7aa64fe15b7c72be15eebad8fa558ba9f (plain)
1
2
3
4
5
6
7
8
9
10
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")) {