linux-um archives
 help / color / mirror / Atom feed
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] PATCH: Netdevice 0 -- port number patch
Date: Wed, 15 Sep 2004 18:53:35 -0400	[thread overview]
Message-ID: <23186.1095288815@marajade.sandelman.ottawa.on.ca> (raw)


This fixes the mcast device code to log the right port number.

--- UMLPOOL/plain/arch/um/drivers/mcast_kern.c.orig	2004-09-15 15:44:43.000000000 -0400
+++ UMLPOOL/plain/arch/um/drivers/mcast_kern.c	2004-09-15 18:45:09.000000000 -0400
@@ -43,7 +43,7 @@
 		  .dev 		= dev });
 	printk("mcast backend ");
 	printk("multicast adddress: %s:%u, TTL:%u ",
-	       dpri->addr, dpri->port, dpri->ttl);
+	       dpri->addr, ntohs(dpri->port), dpri->ttl);
 
 	printk("\n");
 }


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

             reply	other threads:[~2004-09-15 22:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-15 22:53 Michael Richardson [this message]
2004-09-17 17:43 ` [uml-devel] PATCH: Netdevice 0 -- port number patch Jeff Dike
2004-09-18  2:59   ` Michael Richardson

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=23186.1095288815@marajade.sandelman.ottawa.on.ca \
    --to=mcr@sandelman.ottawa.on.ca \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox