diff options
author | Michael Koch <konqueror@gmx.de> | 2003-01-16 07:54:48 +0000 |
---|---|---|
committer | Michael Koch <konqueror@gmx.de> | 2003-01-16 07:54:48 +0000 |
commit | 659e7e5bf3cf94497ac8f007f84cf4d5e7309ef1 (patch) | |
tree | 44a4ea927bea2e03c7f258081e56e5c3286ca00d | |
parent | 0dc41d012aebdc4e40bc8449cd3a4a9910a97c6a (diff) | |
download | classpath-659e7e5bf3cf94497ac8f007f84cf4d5e7309ef1.tar.gz |
2003-01-14 Michael Koch <konqueror@gmx.de>
* java/net/MulticastSocket.java
(setInterface): Merged with libgcj, reindented.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | java/net/MulticastSocket.java | 7 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2003-01-14 Michael Koch <konqueror@gmx.de> + + * java/net/MulticastSocket.java + (setInterface): Merged with libgcj, reindented. + 2003-01-15 Scott Gilbertson <scottg@mantatest.com> * java/awt/CardLayout.java (show): Rewrote. diff --git a/java/net/MulticastSocket.java b/java/net/MulticastSocket.java index 4a4092588..dca1a8567 100644 --- a/java/net/MulticastSocket.java +++ b/java/net/MulticastSocket.java @@ -1,5 +1,6 @@ /* MulticastSocket.java -- Class for using multicast sockets - Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 + Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -169,9 +170,9 @@ public class MulticastSocket extends DatagramSocket * * @since 1.4 */ - public void setInterface(InetAddress inf) throws SocketException + public void setInterface(InetAddress addr) throws SocketException { - impl.setOption(SocketOptions.IP_MULTICAST_IF, inf); + impl.setOption(SocketOptions.IP_MULTICAST_IF, addr); } /** |