[comp.sys.isis] ISISPORT environment variable not checked in UNIX_DOM case

ken@cs.cornell.edu (Ken Birman) (04/17/91)

>        We have found that ISIS does not use the ISISPORT environment
>        variable when ISIS is build using UNIX domain sockets
>        ( UNIX_DOM defined ).  The problem seems to be that code to
>        get the ISIS port from ISISPORT is not present in
>        the UNIX_DOM socket ifdef'd code, where as it is present in
>        the TCP socket ifdef code.

>                File: clib/cl_isis.c
>                Line #: 310


>        We were woundering if this has been reported before and if
>        there is a patch for this problem?

>                Thanks for your help,
>                --John Pochmara
>                  pochmara@ogicse.cse.ogi.edu




Good point.  You can just move the little chunk of code that checks
the environment and then does the lookup to before the ifdef.
Nothing will break...
-- 
Kenneth P. Birman                              E-mail:  ken@cs.cornell.edu
4105 Upson Hall, Dept. of Computer Science     TEL:     607 255-9199 (office)
Cornell University Ithaca, NY 14853 (USA)      FAX:     607 255-4428