linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] PATCH: Netdevice 0 -- port number patch
@ 2004-09-15 22:53 Michael Richardson
  2004-09-17 17:43 ` Jeff Dike
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Richardson @ 2004-09-15 22:53 UTC (permalink / raw)
  To: user-mode-linux-devel


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-18  3:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-15 22:53 [uml-devel] PATCH: Netdevice 0 -- port number patch Michael Richardson
2004-09-17 17:43 ` Jeff Dike
2004-09-18  2:59   ` Michael Richardson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox