Bug 545

Summary: openssh-3.6.1p1 does not build on SunOS: IP_TOS not defined
Product: Portable OpenSSH Reporter: Albert Fluegel <tdsc.af>
Component: Build systemAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED DUPLICATE    
Severity: trivial    
Priority: P3    
Version: -current   
Hardware: All   
OS: SunOS   

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