diff options
-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); } /** |