Swap downstream/upstream order so that debug messages for filters show
authorMichael Brown <mcb30@etherboot.org>
Wed, 31 Jan 2007 03:43:40 +0000 (03:43 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 31 Jan 2007 03:43:40 +0000 (03:43 +0000)
up in the same colour as debug messages for the application stream.

src/include/gpxe/filter.h

index 96c39e0..285d3ea 100644 (file)
 
 /** A filter stream */
 struct filter_stream {
-       /** Upstream
-        *
-        * This is the end pointing towards the top-level application
-        * (e.g. HTTP).
-        */
-       struct stream_connection upstream;
        /** Downstream
         *
         * This is the end pointing towards the bottom-level
         * connection (e.g. TCP).
         */
        struct stream_application downstream;
+       /** Upstream
+        *
+        * This is the end pointing towards the top-level application
+        * (e.g. HTTP).
+        */
+       struct stream_connection upstream;
 };
 
 extern void filter_connected ( struct stream_application *app );