summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-12-04 11:10:01 +0000
committerglebius <glebius@FreeBSD.org>2012-12-04 11:10:01 +0000
commitca0235c9502df6e25f0f8b61929dea4ddd8ce279 (patch)
treeb5ade93329d3ee995213306c5d7cfa3e5008f4c4
parentb5d427feeaa43560621a4bd651ee2a30caeb4c74 (diff)
downloadFreeBSD-src-ca0235c9502df6e25f0f8b61929dea4ddd8ce279.zip
FreeBSD-src-ca0235c9502df6e25f0f8b61929dea4ddd8ce279.tar.gz
Flush stdout after RTM_IFANNOUNCE message.
PR: bin/151600 Submitted by: Eric van Gyzen <eric vangyzen.net>
-rw-r--r--sbin/route/route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 2d470e1..107c66f 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1632,6 +1632,7 @@ print_rtmsg(struct rt_msghdr *rtm, size_t msglen)
break;
}
printf("\n");
+ fflush(stdout);
break;
default:
OpenPOWER on IntegriCloud