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 /java/net/MulticastSocket.java | |
| 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.
Diffstat (limited to 'java/net/MulticastSocket.java')
| -rw-r--r-- | java/net/MulticastSocket.java | 7 |
1 files changed, 4 insertions, 3 deletions
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); } /** |
