[mod_python] BUG: local_ip in connobject.c is wrong.

The Doctor What list.mod_python at docwhat.gerf.org
Thu May 13 23:35:14 EDT 2004


 From line 261 in connobject.c:
    {"local_ip",           T_STRING,    OFF(remote_ip), RO},
    {"local_host",         T_STRING,    OFF(remote_host), RO},

Shouldn't the value in OFF() be local_ip and local_host?

Equally, there should probably be a unit test to confirm that
local_addr[0] == local_ip (ditto for remote_*)

Ciao!

-- 
Fact #17
  Reuse-in-the-large works best for families of related systems.
		-- "Facts and Fallacies of Software Engineering"
			(Robert L. Glass, 2002)

The Doctor What: Not that 'who' guy              http://docwhat.gerf.org/
docwhat *at* gerf *dot* org                                        KF6VNC


More information about the Mod_python mailing list