socket_wrapper: truncate packets to a 1500 byte payload
authorStefan Metzmacher <metze@samba.org>
Tue, 10 Jun 2008 06:33:24 +0000 (08:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 10 Jun 2008 06:43:02 +0000 (08:43 +0200)
commit47b106c0ae8b91c9cccfc21bf8e4e416b1abfd5d
tree659061de1eec1d4f20638cd5cf5bf90527825777
parent7721ea8f9c75d304111935048167dd27525cc91a
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
(This used to be commit 5b01206f1bb2e62c08bda34b45904ec4f83ac5de)
source4/lib/socket_wrapper/socket_wrapper.c