| Summary: | Bad packet length on SunOS 4.1.3U1 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Jay S. Rouman <jsr> | ||||
| Component: | sshd | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | CC: | tdsc.af | ||||
| Priority: | P2 | ||||||
| Version: | -current | ||||||
| Hardware: | SPARC | ||||||
| OS: | SunOS | ||||||
| Attachments: |
|
||||||
|
Description
Jay S. Rouman
2003-04-02 12:53:11 AEST
I see now that the bad packet length error is an artifact of my "fix." You probably just want to test for TP_TOS before packet_set_tos() near line 1316 in packet.c Sorry for the mis-fire. #if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN)
packet_set_tos(interactive);
#endif
If IP_TOS is not set. It shoud skip it at line 1349.
I'm not seeing how it can get there.
- Ben
The problem is slightly before that: packet.c: In function `packet_set_tos': packet.c:1325: `IP_TOS' undeclared (first use in this function) packet.c:1325: (Each undeclared identifier is reported only once packet.c:1325: for each function it appears in.) *** Error code 1 make: Fatal error: Command failed for target `packet.o' Created attachment 267 [details]
patch to solve problem
Apply this patch. It was forgotten in 3.6 release to ensure it does not try to
compile packet_set_tos() if IP_TOS does not exist or is broken.
This will go into the CVS tree soon.
Commited to CVS tree. *** Bug 545 has been marked as a duplicate of this bug. *** Mass change of RESOLVED bugs to CLOSED |