zawiera latke x25_addres_is_struct:

diff -durN net-tools-1.60.orig/lib/x25.c net-tools-1.60/lib/x25.c
--- net-tools-1.60.orig/lib/x25.c       2000-05-20 20:53:25.000000000 +0200
+++ net-tools-1.60/lib/x25.c    2004-12-19 15:10:05.258134376 +0100
@@ -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
diff -durN net-tools-1.60.orig/lib/x25_sr.c net-tools-1.60/lib/x25_sr.c
--- net-tools-1.60.orig/lib/x25_sr.c    2000-05-20 15:38:10.000000000 +0200
+++ net-tools-1.60/lib/x25_sr.c 2004-12-19 15:10:05.259134224 +0100
@@ -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")) {


niekompatybilna z naglowkami kernela 2.4.24.
nalezy wycofac patch5 ze speca i wsio jest ok.

-- 
The only thing necessary for the triumph of evil
  is for good men to do nothing.
                                           - Edmund Burke

__________________________________________________________
nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles

Odpowiedź listem elektroniczym