projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6762faf
)
Flush stdout
author
aland
<aland>
Mon, 17 Sep 2007 14:21:47 +0000
(14:21 +0000)
committer
aland
<aland>
Mon, 17 Sep 2007 14:21:47 +0000
(14:21 +0000)
src/main/radsniff.c
patch
|
blob
|
history
diff --git
a/src/main/radsniff.c
b/src/main/radsniff.c
index
989a2aa
..
4194d56
100644
(file)
--- a/
src/main/radsniff.c
+++ b/
src/main/radsniff.c
@@
-207,6
+207,7
@@
static void got_packet(uint8_t *args, const struct pcap_pkthdr *header, const ui
vp_printlist(stdout, request->vps);
pairfree(&request->vps);
}
+ fflush(stdout);
free(request);
}
@@
-338,5
+339,6
@@
int main(int argc, char *argv[])
pcap_close(descr);
printf("Done sniffing\n");
+ fflush(stdout);
return 0;
}