Bug 545 - openssh-3.6.1p1 does not build on SunOS: IP_TOS not defined
Summary: openssh-3.6.1p1 does not build on SunOS: IP_TOS not defined
Status: CLOSED DUPLICATE of bug 527
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: All SunOS
: P3 trivial
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-23 17:33 AEST by Albert Fluegel
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Fluegel 2003-04-23 17:33:50 AEST
In the file packet.c in function packet_set_interactive,
line 1349 there is a preprocessor directive making the
call to packet_set_tos dependent on IP_TOS being defined,
what makes sense. Unfortunately in the function
packet_set_tos IP_TOS is used unconditionally, what
breaks compilation at least on SunOS-4, that is not
aware of this IP option. So either the entire function
is #ifdef-ed away or at least the call of setsockopt
in line 1325 including the if(...) error(...)
Comment 1 Darren Tucker 2003-04-23 18:18:41 AEST
This looks awfully similar to bug #527.

*** This bug has been marked as a duplicate of 527 ***
Comment 2 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED