projects
/
rrq
/
rrqnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ea171c
)
broaden tpg quirk range to [1461,1477]
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Tue, 2 Nov 2021 20:47:55 +0000
(07:47 +1100)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Tue, 2 Nov 2021 20:47:55 +0000
(07:47 +1100)
rrqnet.c
patch
|
blob
|
history
diff --git
a/rrqnet.c
b/rrqnet.c
index 27769c8e9343a686f9a76af33749bc3a26ca938d..b28b3c82b1694a3ef4116e033d32b606ec279e96 100644
(file)
--- a/
rrqnet.c
+++ b/
rrqnet.c
@@
-887,9
+887,9
@@
static void write_remote(unsigned char *buf, int n,struct Remote *r) {
}
memcpy( output, buf, n ); // Use the private buffer for delivery
// Apply the TPG quirk
- if ( tpg_quirk && ( n
== 1470
) ) {
+ if ( tpg_quirk && ( n
> 1460 ) && ( n < 1478
) ) {
VERBOSE2OUT( "tpg quirk applied\n" );
- n
+= 8; // Add 8
"random" tag-along bytes
+ n
= 1478; // Add some
"random" tag-along bytes
}
if ( r->spec == 0 ) {
if ( r->uaddr.in.sa_family == 0 ) {