RE: [NeoStats-Devel] [Commits] r2632 - in trunk: . include src

"M" <[email protected]>
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Justin Hammond wrote:
> > >  	struct sockaddr_in lsa;
> > > +	struct sockaddr_in srvip;
> > 
> > This causes us to save local information twice since lsa already 
> > contains the ip address of the server. One of the above should be 
> > removed.
> > 
> 
> Nope, lsa is our local bindto address, not the remote 
> address. Srvip is the remote address. 

OK. Wouldn't this be better stored as part of the server client struct then
(me.s->uplink->ip)?

Not sure if we store this information for servers but it should be trivial
to store it for the primary uplink at least.

Mark.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.