[Bug 545] openssh-3.6.1p1 does not build on SunOS: IP_TOS not defined

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Apr 23 17:33:52 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=545

           Summary: openssh-3.6.1p1 does not build on SunOS: IP_TOS not
                    defined
           Product: Portable OpenSSH
           Version: 3.6p1
          Platform: All
        OS/Version: SunOS
            Status: NEW
          Severity: trivial
          Priority: P3
         Component: Build system
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: tdsc.af at infineon.com


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(...)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-unix-dev mailing list