stream-tcp, stream-ssl: Remove unneeded getsockname() calls.
authorBen Pfaff <blp@nicira.com>
Wed, 22 Oct 2014 23:05:35 +0000 (16:05 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 23 Oct 2014 16:05:16 +0000 (09:05 -0700)
commita9447331a639832a1c75b3f797757ed4139ec1d2
tree504172cc64842c646723ce065321cbaf85af3203
parentcb85b49c4b7e610ccea2b03b9d62184f6247f4ba
stream-tcp, stream-ssl: Remove unneeded getsockname() calls.

Commit a8d819675f3 (Remove stream, vconn, and rconn functions to get
local/remote IPs/ports.) removed the code that used the local socket
address but neglected to remove the code to fetch that address.  This
commit removes the latter code also.

Reported-by: Eitan Eliahu <eliahue@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Eitan Eliahu <eliahue@vmware.com>
lib/stream-ssl.c
lib/stream-tcp.c