[haiku-commits] r39388 - haiku/trunk/src/add-ons/kernel/network/stack

Author: axeld
Date: 2010-11-10 22:30:10 +0100 (Wed, 10 Nov 2010)
New Revision: 39388
Changeset: http://dev.haiku-os.org/changeset/39388

Modified:
   haiku/trunk/src/add-ons/kernel/network/stack/interfaces.cpp
Log:
* Added a bit more debug output.


Modified: haiku/trunk/src/add-ons/kernel/network/stack/interfaces.cpp
===================================================================
--- haiku/trunk/src/add-ons/kernel/network/stack/interfaces.cpp 2010-11-10 
21:28:07 UTC (rev 39387)
+++ haiku/trunk/src/add-ons/kernel/network/stack/interfaces.cpp 2010-11-10 
21:30:10 UTC (rev 39388)
@@ -739,8 +739,11 @@
                                flags |= request.ifr_flags;
                        }
 
-                       if (oldFlags != flags)
+                       if (oldFlags != flags) {
+                               TRACE("Interface %p: flags changed from %" 
B_PRIx32 " to %"
+                                       B_PRIx32 "\n", this, oldFlags, flags);
                                notify_interface_changed(this, oldFlags, flags);
+                       }
 
                        return status;
                }


Other related posts:

  • » [haiku-commits] r39388 - haiku/trunk/src/add-ons/kernel/network/stack - axeld