All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernard Pidoux <bpidoux@free.fr>
To: linux-hams <linux-hams@vger.kernel.org>,
	C Schuman <k4gbb1@embarqmail.com>,
	Jerry DeLong <KD4YAL@tampabay.rr.com>,
	Ray Wells <vk2tv@exemail.com.au>,
	Terry Dawson VK2KTJ <terry@animat>
Subject: [PATCH] net-tools-1.60-23 netstat x25_sr
Date: Sat, 21 Nov 2009 17:59:44 +0100	[thread overview]
Message-ID: <4B081C80.7010907@free.fr> (raw)

[-- 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")) {

                 reply	other threads:[~2009-11-21 16:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B081C80.7010907@free.fr \
    --to=bpidoux@free.fr \
    --cc=KD4YAL@tampabay.rr.com \
    --cc=k4gbb1@embarqmail.com \
    --cc=linux-hams@vger.kernel.org \
    --cc=terry@animat \
    --cc=vk2tv@exemail.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.