Newsgroups: comp.sys.isis Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!ken From: ken@cs.cornell.edu (Ken Birman) Subject: ISISPORT environment variable not checked in UNIX_DOM case (V2.1) Message-ID: <1991Apr17.154920.9271@cs.cornell.edu> Originator: ken@gvax.cs.cornell.edu Sender: news@cs.cornell.edu (USENET news user) Nntp-Posting-Host: gvax.cs.cornell.edu Organization: Cornell Univ. CS Dept, Ithaca NY 14853 Date: Wed, 17 Apr 1991 15:49:20 GMT Lines: 28 > 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