netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net/l2tp/l2tp_debugfs.c: Convert NIPQUAD to %pI4
@ 2010-04-15 16:41 Joe Perches
  2010-04-15 18:44 ` James Chapman
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Perches @ 2010-04-15 16:41 UTC (permalink / raw)
  To: David Miller; +Cc: James Chapman, LKML, netdev

Signed-off-by: Joe Perches <joe@perches.com>
---
 net/l2tp/l2tp_debugfs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/l2tp/l2tp_debugfs.c b/net/l2tp/l2tp_debugfs.c
index 908f10f..104ec3b 100644
--- a/net/l2tp/l2tp_debugfs.c
+++ b/net/l2tp/l2tp_debugfs.c
@@ -122,8 +122,8 @@ static void l2tp_dfs_seq_tunnel_show(struct seq_file *m, void *v)
 	seq_printf(m, "\nTUNNEL %u peer %u", tunnel->tunnel_id, tunnel->peer_tunnel_id);
 	if (tunnel->sock) {
 		struct inet_sock *inet = inet_sk(tunnel->sock);
-		seq_printf(m, " from " NIPQUAD_FMT " to " NIPQUAD_FMT "\n",
-			   NIPQUAD(inet->inet_saddr), NIPQUAD(inet->inet_daddr));
+		seq_printf(m, " from %pI4 to %pI4\n",
+			   &inet->inet_saddr, &inet->inet_daddr);
 		if (tunnel->encap == L2TP_ENCAPTYPE_UDP)
 			seq_printf(m, " source port %hu, dest port %hu\n",
 				   ntohs(inet->inet_sport), ntohs(inet->inet_dport));

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

* Re: [PATCH net-next] net/l2tp/l2tp_debugfs.c: Convert NIPQUAD to %pI4
  2010-04-15 16:41 [PATCH net-next] net/l2tp/l2tp_debugfs.c: Convert NIPQUAD to %pI4 Joe Perches
@ 2010-04-15 18:44 ` James Chapman
  2010-04-15 22:37   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: James Chapman @ 2010-04-15 18:44 UTC (permalink / raw)
  To: Joe Perches; +Cc: David Miller, LKML, netdev

Joe Perches wrote:
> Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: James Chapman <jchapman@katalix.com>

> ---
>  net/l2tp/l2tp_debugfs.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/net/l2tp/l2tp_debugfs.c b/net/l2tp/l2tp_debugfs.c
> index 908f10f..104ec3b 100644
> --- a/net/l2tp/l2tp_debugfs.c
> +++ b/net/l2tp/l2tp_debugfs.c
> @@ -122,8 +122,8 @@ static void l2tp_dfs_seq_tunnel_show(struct seq_file *m, void *v)
>  	seq_printf(m, "\nTUNNEL %u peer %u", tunnel->tunnel_id, tunnel->peer_tunnel_id);
>  	if (tunnel->sock) {
>  		struct inet_sock *inet = inet_sk(tunnel->sock);
> -		seq_printf(m, " from " NIPQUAD_FMT " to " NIPQUAD_FMT "\n",
> -			   NIPQUAD(inet->inet_saddr), NIPQUAD(inet->inet_daddr));
> +		seq_printf(m, " from %pI4 to %pI4\n",
> +			   &inet->inet_saddr, &inet->inet_daddr);
>  		if (tunnel->encap == L2TP_ENCAPTYPE_UDP)
>  			seq_printf(m, " source port %hu, dest port %hu\n",
>  				   ntohs(inet->inet_sport), ntohs(inet->inet_dport));
> 
> 
> 


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

* Re: [PATCH net-next] net/l2tp/l2tp_debugfs.c: Convert NIPQUAD to %pI4
  2010-04-15 18:44 ` James Chapman
@ 2010-04-15 22:37   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2010-04-15 22:37 UTC (permalink / raw)
  To: jchapman; +Cc: joe, linux-kernel, netdev

From: James Chapman <jchapman@katalix.com>
Date: Thu, 15 Apr 2010 19:44:51 +0100

> Joe Perches wrote:
>> Signed-off-by: Joe Perches <joe@perches.com>
> Acked-by: James Chapman <jchapman@katalix.com>

Applied, thanks.

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

end of thread, other threads:[~2010-04-15 22:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-15 16:41 [PATCH net-next] net/l2tp/l2tp_debugfs.c: Convert NIPQUAD to %pI4 Joe Perches
2010-04-15 18:44 ` James Chapman
2010-04-15 22:37   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).