Skip to contentSkip to conversation

fix to sdla_fr.c

PATCH Juan Quintela 2 participants 2 messages May 29, 2002 Network drivers

lore
Share & tools
lore
#0 lore raw

Hi
this has been broken since -pre8.
Could you apply, it appears to be a MIME thing, or similar.

For some reason, there was some s/%u/%U/.

Please, apply.

Later, Juan.

drivers/net/wan/sdla_fr.c renamed from drivers/net/wan/sdla_fr.c.orig +3 -3
diff -u linux/drivers/net/wan/sdla_fr.c.orig linux/drivers/net/wan/sdla_fr.c
@@ -2815,7 +2815,7 @@
 				chan->name, NIPQUAD(chan->ip_remote));
 
 		}else {
-			printk(KERN_INFO "%s: Route Added Successfully: %u.%u.%u.%U\n",
+			printk(KERN_INFO "%s: Route Added Successfully: %u.%u.%u.%u\n",
 				card->devname,NIPQUAD(chan->ip_remote));
 			chan->route_flag = ROUTE_ADDED;
 		}
@@ -4348,9 +4348,9 @@
 					card->devname,NIPQUAD(arphdr->ar_sip));
 
 			printk(KERN_INFO "%s: mask %u.%u.%u.%u\n", 
-				card->devname, NIPQUAD(in_dev->ida_list->ifa_mask));
+				card->devname, NIPQUAD(in_dev->ifa_list->ifa_mask));
 				printk(KERN_INFO "%s: local %u.%u.%u.%u\n", 
-				card->devname,NIPQUAD(in_dev->ida_list->ifa_local));
+				card->devname,NIPQUAD(in_dev->ifa_list->ifa_local));
 			return -1;
 		}
 
Signature · 2 lines
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy
#1 lore raw

Greetings,

Juan Quintela <[email protected]> :
[...]

Quoted 2 lines

this has been broken since -pre8.
Could you apply, it appears to be a MIME thing, or similar.

It's broken in 2.5.x too, please Cc: [email protected]. NIPQUAD conversion victim imho.

Signature · 1 line
Ueimor