nfsim: Increase maximum argv size for tcpsession DATA
PATCH 1/1 nfsim: Increase maximum argv size for tcpsession DATA
Hi,
this patch increases the argv buffer in the tcp_send() function. I ran in to this limit when constructing RTSP packets, and I see no reason not to make it "large enough for everyone" while at it.
Signed-off-by Marcus Sundberg <[email protected]>
tools/tcpsession.c +1 -1
@@ -124,7 +124,7 @@ int datanum, char *data[]) { char *ctx = talloc(NULL, char); -char *argv[20 ]; +char *argv[1024 ];int argc; argc =0 ;
Signature · 3 lines
---------------------------------------+-------------------------- Marcus Sundberg <[email protected]> | Firewalls with SIP & NAT Software Developer, Ingate Systems AB | http://www.ingate.com/
Harald Welte
AppliedQuoted 5 lines · Marcus Sundberg
Hi,
this patch increases the argv buffer in the
tcp_send()function. I ran in to this limit when constructing RTSP packets, and I see no reason not to make it "large enough for everyone" while at it.
thanks, applied.
Signature · 5 lines
- Harald Welte <[email protected]> http://netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie