Revise earlier check for correct IPv4 addr length to check for ==4.
commit7f8a6c5e92531658e54b243ab00d1f279693a28d
authorNick Mathewson <nickm@torproject.org>
Tue, 16 Jun 2009 20:12:06 +0000 (16 16:12 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 16 Jun 2009 20:12:06 +0000 (16 16:12 -0400)
tree160704a0aad3b75b97951cc2cadd21ce19a3cae7
parent845326317d9c468012ac99fab6e78575a807ed4f
Revise earlier check for correct IPv4 addr length to check for ==4.

We need this to match the check in connection_ap_handshake_socks_resolved().

Found by optimist.
src/or/relay.c