Implemented the Sean Reifenschneider suggested fflush() to the --watch
authorBernd Eckenfels <net-tools@lina.inka.de>
Sun, 15 Sep 2002 00:25:14 +0000 (00:25 +0000)
committerBernd Eckenfels <net-tools@lina.inka.de>
Sun, 15 Sep 2002 00:25:14 +0000 (00:25 +0000)
function of mii-tool.

mii-tool.c

index 1780b1d..7237ba9 100644 (file)
@@ -302,6 +302,7 @@ int show_basic_mii(int sock, int phy_id)
            printf("\n  link partner:%s", media_list(lkpar, 0));
        printf("\n");
     }
+    fflush(stdout);
     return 0;
 }