File net-tools-1.60-krn26.dif of Package net-tools

--- lib/x25.c
+++ lib/x25.c
@@ -119,7 +119,7 @@
   /* All done. */
 #ifdef DEBUG
   fprintf(stderr, "x25_input(%s): ", orig);
-  for (i = 0; i < sizeof(x25_address); i++)
+  for (i = 0; i < sizeof(struct x25_address); i++)
 	fprintf(stderr, "%02X ", sap->sa_data[i] & 0377);
   fprintf(stderr, "\n");
 #endif
--- lib/x25_sr.c
+++ lib/x25_sr.c
@@ -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")) {