summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ndp
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2004-02-10 22:50:57 +0000
committersumikawa <sumikawa@FreeBSD.org>2004-02-10 22:50:57 +0000
commit640645291f5093248c108bd09bf80671b37279bb (patch)
treece2147f3be1868b8d1eb0a357e4ebfaf078e1a36 /usr.sbin/ndp
parent8497e02dddf3c2a76ef8588f20786975e2c83b69 (diff)
downloadFreeBSD-src-640645291f5093248c108bd09bf80671b37279bb.zip
FreeBSD-src-640645291f5093248c108bd09bf80671b37279bb.tar.gz
Flush stdout when -A option is used.
Obtained from: KAME MFC after: 1 week
Diffstat (limited to 'usr.sbin/ndp')
-rw-r--r--usr.sbin/ndp/ndp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c
index 256809a..9f40ffa 100644
--- a/usr.sbin/ndp/ndp.c
+++ b/usr.sbin/ndp/ndp.c
@@ -778,6 +778,7 @@ again:;
if (repeat) {
printf("\n");
+ fflush(stdout);
sleep(repeat);
goto again;
}
OpenPOWER on IntegriCloud