summaryrefslogtreecommitdiff
path: root/libgo/go/net/interface_netbsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/interface_netbsd.go')
-rw-r--r--libgo/go/net/interface_netbsd.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/libgo/go/net/interface_netbsd.go b/libgo/go/net/interface_netbsd.go
index 4150e9ad5d1..c9ce5a7ac15 100644
--- a/libgo/go/net/interface_netbsd.go
+++ b/libgo/go/net/interface_netbsd.go
@@ -2,13 +2,11 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// Network interface identification for NetBSD
-
package net
-// If the ifindex is zero, interfaceMulticastAddrTable returns
-// addresses for all network interfaces. Otherwise it returns
-// addresses for a specific interface.
-func interfaceMulticastAddrTable(ifindex int) ([]Addr, error) {
+// interfaceMulticastAddrTable returns addresses for a specific
+// interface.
+func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
+ // TODO(mikio): Implement this like other platforms.
return nil, nil
}