diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-06-10 08:33:24 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-06-10 11:38:11 +0200 |
commit | 5380fd800d90f0463f99dbd9efb78feb177b1790 (patch) | |
tree | 8881206229b2afc6d195f7570e9a7ec8431267e2 /source3/lib/replace/getifaddrs.c | |
parent | d57b8280d6ded808ab82767789f45629abe95dde (diff) | |
download | samba-5380fd800d90f0463f99dbd9efb78feb177b1790.tar.gz samba-5380fd800d90f0463f99dbd9efb78feb177b1790.tar.bz2 samba-5380fd800d90f0463f99dbd9efb78feb177b1790.zip |
socket_wrapper: truncate packets to a 1500 byte payload
Truncate sendto(), recvfrom(), send() and recv() to 1500 bytes
so that're getting a correctly formatted pcap file and the result
look more like real network traffic.
metze
(cherry picked from commit 5b01206f1bb2e62c08bda34b45904ec4f83ac5de)
(This used to be commit eb8c37a1ca97b41de00ec937a90bfdbe9cd21531)
Diffstat (limited to 'source3/lib/replace/getifaddrs.c')
0 files changed, 0 insertions, 0 deletions