* [PATCH] net-tools-1.60-23 netstat x25_sr
@ 2009-11-21 16:59 Bernard Pidoux
0 siblings, 0 replies; only message in thread
From: Bernard Pidoux @ 2009-11-21 16:59 UTC (permalink / raw)
To: linux-hams, C Schuman, Jerry DeLong, Ray Wells,
Terry Dawson VK2KTJ
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
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
[-- Attachment #2: net-tools-1.60-23.netstat.x25_sr.patch --]
[-- Type: text/plain, Size: 465 bytes --]
--- net-tools-1.60-23/lib/x25_sr.c 2000-05-20 15:38:10.000000000 +0200
+++ net-tools-1.60-23/lib/x25_sr.c 2009-11-20 16:36:22.253146541 +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(sx25.sx25_addr));
while (*args) {
if (!strcmp(*args,"device") || !strcmp(*args,"dev")) {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-21 16:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-21 16:59 [PATCH] net-tools-1.60-23 netstat x25_sr Bernard Pidoux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox