Skip to contentSkip to conversation

net-tools-1.60-23 netstat x25_sr

PATCH New Bernard Pidoux 1 participant 1 message Nov 21, 2009 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net-tools-1.60-23 netstat x25_sr

Hi,

When compiling the following source http://packages.debian.org/sid/net-tools

version 1.60 orig plus -23 patch

I found a few bugs.

Here follows three patches.

73 de Bernard, f6bvp

lib/x25_sr.c +1 -1
@@ -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(sx25.sx25_addr));
 
   while (*args) {
 	if (!strcmp(*args,"device") || !strcmp(*args,"dev")) {