patch-2.4.0-test2 linux/net/bridge/br_stp.c

Next file: linux/net/core/dev.c
Previous file: linux/net/bridge/br.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/net/bridge/br_stp.c linux/net/bridge/br_stp.c
@@ -5,7 +5,7 @@
  *	Authors:
  *	Lennert Buytenhek		<buytenh@gnu.org>
  *
- *	$Id: br_stp.c,v 1.3 2000/05/05 02:17:17 davem Exp $
+ *	$Id: br_stp.c,v 1.4 2000/06/19 10:13:35 davem Exp $
  *
  *	This program is free software; you can redistribute it and/or
  *	modify it under the terms of the GNU General Public License
@@ -292,18 +292,19 @@
 /* called under bridge lock */
 void br_topology_change_detection(struct net_bridge *br)
 {
-	printk(KERN_INFO "%s: topology change detected, ", br->dev.name);
+	printk(KERN_INFO "%s: topology change detected", br->dev.name);
 
 	if (br_is_root_bridge(br)) {
-		printk("propagating\n");
+		printk(", propagating");
 		br->topology_change = 1;
 		br_timer_set(&br->topology_change_timer, jiffies);
 	} else if (!br->topology_change_detected) {
-		printk("sending tcn bpdu\n");
+		printk(", sending tcn bpdu");
 		br_transmit_tcn(br);
 		br_timer_set(&br->tcn_timer, jiffies);
 	}
 
+	printk("\n");
 	br->topology_change_detected = 1;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)