natPlainDatagramSocketImplPosix.cc (getLocalAddress): New helper function.
authorAnthony Green <green@redhat.com>
Mon, 19 Dec 2005 02:54:19 +0000 (02:54 +0000)
committerAnthony Green <green@gcc.gnu.org>
Mon, 19 Dec 2005 02:54:19 +0000 (02:54 +0000)
commit57b3c68ec5373c02e53753311e06ccd7d578a27a
tree78939120b04d55c91fb9bf7e42be7c1023a6ae3c
parentf988a24784b7e921c76fcb39e0416d4ef122b441
natPlainDatagramSocketImplPosix.cc (getLocalAddress): New helper function.

2005-12-18  Anthony Green  <green@redhat.com>

* gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress):
New helper function.
(setOption): Use getLocalAddress.  Don't downcast value to
InetAddress.
(getOption): Use getLocalAddress.

From-SVN: r108779
libjava/ChangeLog
libjava/gnu/java/net/natPlainDatagramSocketImplPosix.cc